Hii Frndzz i m going to show you how to lock a folder without any software , this is very useful and important trick for u ...... it creates a password on a folder or hide it......... try this trick n give us feedback to appreciate my hard work on this.... But read this carefully...
How To Lock Folder ?
1. Open Notepad and Copy code given below into it.cls
2. Save the notepad file as lock.bat (.bat is must)
3. Now double click on lock.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command promp appears Type Y and press enter.
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 replace coolhacks with new password in the above code
How To Lock Folder ?
1. Open Notepad and Copy code given below into it.cls
@ECHO OFFtitle hackintricks4u.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%== coolhacks goto 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 as lock.bat (.bat is must)
3. Now double click on lock.bat and a new folder will be created with name MyFolder
4. Copy all your data you want to protect in that New folder
5. Now double click on lock.bat and when command promp appears Type Y and press enter.
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 replace coolhacks with new password in the above code
No comments:
Post a Comment