FOLDER LOCK

How to Lock Folder Without Any Software with Password


Really you can lock folder using batch files. So Lock everything.......

Step 1: Open Notepad


First of all open Notepad

Step 2: Copy and Paste

Just copy and paste it to the notepad

@ECHO OFF
title lokendra's-hacking-ideas
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== Hello1goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End

How to Lock Folder Without Any Software with Password
Step 3: Save It

Now save it as locker.bat
your saved file will look like this -

How to Lock Folder Without Any Software with Password
Step 4: Open That

Double click on locker.bat file
A new folder named "MyFolder" will be created.
Now move your all content to this folder.

Step 5: Lock

Done. Double click on locker.bat file and it will ask you for locking folder. Type y and hit enter.
Refresh and your folder will disappear means locked.

Step 6: How to Open

Double click on locker.bat File and now it will ask for password.
By default the password is Hello1. Enter it and your folder will appear.

Post a Comment

1 Comments

  1. The Wynn & Encore Restaurants - JTM Hub
    The Wynn & Encore Restaurants · 1. Wing Lei, Cantonese · 2. Wicked 김제 출장마사지 Spoon, SW Steakhouse · 3. Mizumi, 정읍 출장안마 Sushi · 4. Wicked Spoon, 영천 출장샵 SW 시흥 출장안마 Steakhouse 여주 출장샵 · 5. Bacchanal,

    ReplyDelete