Get me outta here!

Thursday, 12 January 2012

Secure Safe! Hide folders with a batch file

Hello Friends,

Today I'll teach you a very easy way to secure your private folders.With this trick, you can create a secure password protected folder in Windows which no one except you (or the one with the password) can access.

Follow these instructions :-

Hide The Folder :-

1. Open Notepad.
2. Copy and paste the exact code given below:-

title Secure Safe! 
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}" goto UNLOCK 
if NOT EXIST MyFolder goto MDMyFolder 
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. 
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD
echo Folder locked 
goto End 
echo Enter password to Unlock Your Secure Folder 
set/p "pass=>" 
if NOT %pass%== mysecretfolder goto FAIL 
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD
ren "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}" MyFolder 
echo Folder Unlocked successfully 
goto End 
echo Invalid password 
goto end 
md MyFolder
echo MyFolder created successfully 
goto End 

4. Save the file as *.bat or Locker.bat (Name must end with .bat) and select file type as All Files.

5. After creating the file, double click on the Saved file. A new folder will be created. Enter your data in the folder. Again, double click on the batch file. Type Y and press Enter. The folder will be hidden from view.
The default password for revealing the password is "mysecretfolder"

Reveal The Folder :-

1. To re-view your folder, double click on the saved batch file. Enter password as "mysecretfolder " without quotes and press Enter key. This is also the default password. Your folder will be visible again.

Change The Password :-

To change the default password, edit the part of the code where it is written "mysecretfolder " and enter the password you wish to keep.

The overall usability of this trick can be improved by deleting the batch file after hiding your folder and re-creating it when you wish to access your folder again.

If you face any problem using this trick, you can write a comment and I will do my best to help you.



Post a Comment

Due to the permanent shut down, I rarely visit the blog. Don't expect answers to your queries very soon.