All Types of Latest Tips and Tricks. Software for Computer, Mobile and Network. And Discount Coupons.

Friday, June 20, 2014

How to Lock Folder Without Any Software

with 0 Comment

LOCK ANY FOLDER WITHOUT ANY SOFTWARE


Just follow the simple steps given bellow.

  1. Create a new text file.
  2. Open the text file with notepad.
  3. Enter the source code given below in the text file and save it as "locker.bat"

Source Code for locker.bat


@ECHO OFFtitle Folder Privateif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto :UNLOCKif NOT EXIST Private goto :MDLOCKER :CONFIRMecho Are you sure you want to lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto :LOCKif %cho%==y goto :LOCKif %cho%==n goto :ENDif %cho%==N goto :ENDecho Invalid choice.goto :CONFIRM :LOCKren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto :End :UNLOCKecho Enter password to unlock folderset/p "pass=>"if NOT %pass%== password goto :FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Privateecho Folder Unlocked successfullygoto :End :FAILecho Invalid passwordgoto :end :MDLOCKERmd Privateecho Private created successfullygoto :End :End
 
 
Now execute the bat file.

When the bat file execute first time, it will create a new folder "PRIVATE" now you just have to paste your documents and files inside this private folder. next is to execute this file again, it will lock your folder automatically. Third time when you execute the file it will ask for the password to unlock the folder, default password is "password", after entering the password, folder will be unlocked.



0 comments:

Post a Comment

Connect With Us