Monday, 31 December 2012

How to lock folder without Any software

How to lock folder without Any software ?

Step 1 :- 

                 Firstly Paste the given code in notepad and Save this as any name And 
".bat" file.

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%==type 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

 Step 2 :-

                 Then you see a batch file double click on this file 
New folder created at this location Name "Locker" 

Step 3 :- 

             Now copy the file at this folder you want to hide file 
Then double click on batch file you seen the this type command window  
In this window you have type the password you want to folder lock password after this
you see this type command window press "y" press enter

After the password set the folder is hid or locked this time

Step 4 :-

If you want to unlock your folder  
Double click on batch file you see this type window 

Enter the password And  
 Press enter 
At this moment Your locker folder is Unlocked or Unhide this time 

No comments:

Post a Comment

Free Hit Counter
Free Hit Counter