How To Lock/Hide Any Folder In Windows 7 Using Batch File

Now a days everyone want his own privacy or you may say as be stay in private. But Today we will show you that how to Lock your any Folder with a GIVEN PASSWORD. The password that you will provide within the code using the notepad, don’t get confused you will be explained by using the below steps.

It is True but many application has come in the world of Internet but in every application there are little unwanted feature or service which we really don’t want to use or we do not want to share our computer privacy to the other company by using that application.

Created an awesome code which is really working, if your is not working then you may be using wrong code or have missed any steps, still have then feel free to use the below comment box.

Follow the Instructions to go through.

1. First of all Copy all the code below listed and paste it on your New notepad.

[email protected] offtitle Folder LockerIF EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}” GOTO UNLOCKIF NOT EXIST
Locker GOTO MDLOCKERecho Folder Created.:CONFIRM
echo Are you sure you want to lock the 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 Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}”
echo Folder Locked.
GOTO END
:UNLOCK
echo Enter password to unlock the Folder :
set/p “pass=”
IF NOT %pass% == YourPassword GOTO FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303­­09D}” Locker
echo Folder Unlocked Successfully.
GOTO END
:FAIL
echo Invalid Password!
GOTO END
:MDLOCKER
md Locker
echo Folder created.
GOTO END
:END
PAUSE

2. Now save as “LockedApp.bat” and for that you have to click or select on All Files from below during the saving process of saving the file and after selecting that name the folder as said LockedApp.bat

LockedApp.bat

LockedApp.bat

3. Save it to the folder called “Locked” Recently we have Created.

4. So now you have a Folder in Desktop called “Locked” and inside that folder you have a file called “LockedApp.bat

Locked

Locked

5. Now Click on that File called “LockedApp.bat” and cmd will open and suddenly a file will be created called “Locked” in side the folder Locked.

6. So from now you can hide any secret files with password protected, Now put any File inside the folder which has just now created called “Locked” and after that go back and click on the “LockedApp.bat” to Confirm Password Protected.

hide any secret files

hide any secret files

And your Password is in Red Color in the code Later You Can Change it….

No Responses

Add Comment