Friday 5 October 2012

Create Your Own Folder Locking Program using Notepad




Create your own Folder locking program using notepad. Keep your files password protected in a locker.

Step 1:

open notepad. (goto run "windows+R", then type "notepad")

Step 2:

Copy paste the following program.




cls
@ECHO OFF
title Taknika.com
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? (Yes/No)
set/p "cho=>"
if %cho%==Yes goto LOCK
if %cho%==yes goto LOCK
if %cho%==no goto END
if %cho%==No 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 Secret Folder
set/p "pass=>"
if NOT %pass%== taknika goto 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



Step 3:

Save the file in in .bat domain ( press "ctrl+S" and type "FolderLocker.bat")

Step 4:

After creating the file, double click on the Saved file. A Secret Folder will be created. Enter your data in the folder. Again, double click on the batch file. Type Yes and press Enter. The folder will become invisible.

Step 5:

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

Step 6:

To change the default password, edit the part of the code given in "RED" and enter your own password.

Note:

1) The overall usability of this trick can be improved by deleting the batch file after the Secret Folder becomes invisible and re-creating it when you wish to access your folder again. The Simpler the program the easier it can be hacked so be sure any software engineer having a little knowledge of hacking can hack your program.
2) Do not edit the other part of the program except the red one ,otherwise it may cause bug in the program and the program will not work.

No comments:

Post a Comment