Wednesday, 1 February 2012


1.      Open up your notepad
2.      After that copy the presented code below, on the notepad
cls
@ECHO OFF
title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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-08002B30309D}”
attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p “pass=>”
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

3. Change “YOUR PASSWORD HERE” with your password.
4. Now, save it as .bat extension. Eg. Locked.bat
5.    You will see a .bat extension file, just double-click it to create a folder locked.
6.    A new floder will open beside the .bat extension file.
7.    Drag all your wanted files to hide in the locked folder.
8.    Double click the .bat(created above) file to lock the floder Locked.
9.    But, if you want to open the folder again, you need to double-click the .bat extension file again and it will be prompted for password to Dos window and enter your password.

note:-
it work in windows xp only 

0 comments:

Post a Comment