Wednesday, September 15, 2010

How to protect/ hide your files without third party software

I've read a very good post recently in, on how to protect your data without the use of any third party software. It is a simple trick to hide your confidential or private folder in just one click. Just follow the steps below.

1. Open notepad then copy and paste the following codes:

title Folder Confidential
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Confidential goto MDLOCKER
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.
ren Confidential "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to unlock folder
set/p "password=>"
if NOT %password%== 12345 goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Confidential
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Confidential
echo Confidential created successfully
goto End

2.   Then click on File ----> Save as and name it as “Key.bat” (without the quotation marks). 

3. Go to the location where you saved the file and double click on "Key" icon. When you open it for first time, a folder “Confidential” will be automatically created. You can move all your confidential data in that folder.

To lock the Confidential folder, just double click on the "Key" icon. A confirmation message will appear. Type “y” then press enter. That will also make the folder “Confidential” hidden to everyone.

If you want to show/access the contents of the Confidential folder, you just have to double-click on the "Key" icon. You will be prompted to enter your password.

The default password is "12345". It is advisable to change your password so others who knew how to use this trick will not be able to access the Confidential folder. After that, compile the "key" file using bat to exe converter to avoid viewing  your password.

How to convert bat to exe file:

Step 1. Download bat to exe converter

Step 2. Run the application and put the source path of the batch file(Key), then specify the location where you want to save the exe file.

Step 3.  Click the compile button. 
Step 4.  Delete the "Key" icon.

No comments:

Post a Comment

Related Posts with Thumbnails