TechAmongus:App Review,Technology,How-To,Android

How To Lock Folders - TechAmongus

How To Lock Folders

Sometimes you want to lock your Folder to protect your private content from friends .But for locking a Folder is not easy job .Maximum Person download software and apply a password on the folder.Password is very tuff to remember because we have a large number password like facebook ,gmail password etc.All password should be different .So I think on this Topic and found a method on internet to lock Folder without using any software .In this method we use notpad for coding .we right only four or three line and save according to the given following .Please follow the given steps.

Step 1 :  Open notepad. [start > Program > accessories > notepad]
Step 2 :  Copy the following code in notepad which is in text area.

 cls
 @ECHO OFF
 title Folder Secure
 if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
 if NOT EXIST Secure goto MDLOCKER
 :CONFIRM
 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.
 goto CONFIRM
 :LOCK
 ren Secure "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 the Password to unlock folder
 set/p "pass=>"
 if NOT %pass%== password goto FAIL
 attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
 ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Secure
 echo Folder Unlocked successfully
 goto End
 :FAIL
 echo Invalid password
 goto end
 :MDLOCKER
 md Secure
 echo Secure created successfully
 goto End
 :End

Step 3 :  Now Save this file with .bat extension. [e.g lock.bat]

Step 4 :  Double click on your file [lock.bat]



>>> Now you can see one folder name with "Secure"

Step 5 :  Move your personal data in this Folder (Secure)

>>> When you want to lock this folder [secure]. just double click on batch file and you can see one window then type Y and hit Enter.

>>> Now you can see your folder [secure] is hide. when you want to access the data into the folder, then double click on batch file and Enter your password. 


[default password is "password" , If you want to change your password then right click on batch file and Now Find "password" and replace it with your password. remember your password, because when you want to access this folder password is necessary]

No comments

Powered by Blogger.