Lock folder without any app in computer
How To Lock Folder ?
1. Open Notepad and Copy code given below into it.
cls@ECHO OFFtitle coolhacking-tricks.blogspot.comif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST MyFolder goto MDMyFolder:CONFIRMecho Are you sure to lock this 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 MyFolder "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 Your Secure Folderset/p "pass=>"if NOT %pass%==coolhacksgoto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolderecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDMyFoldermd MyFolderecho MyFolder created successfullygoto End:End
2. Save the notepad file aslock.bat(.bat ismust)
3. Now double click on lock.bat and a newfolder will be created with nameMyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command promp appearsType Yand pressenter
.6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
7. It will ask for password enter your password and done. (Default password is coolhacks)To change the password replacecoolhackswith new password in the above code
No comments: