Wednesday 25 February 2015

MAKE A LOCK FOLDER WITHOUT SOFTWARE

How To Lock a Folder without any software in window xp ?
1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title www.cyberarena.in
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? (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 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 Secure Folder
set/p "pass=>"
if NOT %pass%==
 cyberarena 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
2. Save the notepad file with Lock.bat(.bat is compulsory.)
3. Double click on lock.bat, a new folder is created with a name MyFolder.

4. Put your Files in that MyFolder.
5. Now again, double click on lock.bat and when command prompt appears Type Y and press enter.
6. Now Your folder is hidden to view.
7. To access that folder, double click on lock.bat
8. It will ask you for a password.(the default password is cyberarena)
9. Enter the password and press Enter.
10. Double click on lock.bat to lock it again.
11. Type Y and press Enter. 
How to Replace password :-
  • Right click on lock.bat file, choose edit option. 
  • In Notepad, replace cyberarena with  new password .

No comments:

Post a Comment