Trick to lock your folder and password protect it.
Hello everyone and today we are with a very in demand trick. A quiet easy to implement trick to Lock folders so that no body will be able to see all your private pictures with your Girlfriend or Boyfriend, or last night booze party pictures or any other file you don't want to show anyone, stored in it.
Navigate into your newly created folder and create a New Text Document. This can easily be done on right clicking the folder.
Now Open the document, and paste the following code into the contents of the document without making any changes.
To get started you need to create a folder that will keep your password protected folder, this is just an ordinary folder and can be located anywhere and named anything, you know very well what name you are going to give.
How To Lock Folder Without Software
This trick is very easy you have to just copy paste some codes written below, according to instructions given, so lets get started.
Navigate into your newly created folder and create a New Text Document. This can easily be done on right clicking the folder.
Now Open the document, and paste the following code into the contents of the document without making any changes.
| cls @ECHO OFF title Folder Private if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private 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 Private "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%==**YOUR_PASSWORD** goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End |
- Now simply change **YOUR_PASSWORD** with your desired password
Once the file is saved as a batch file (using extension .BAT) you can delete the original text file.
Now run your batch file by double clicking on it–the first time you run it, it will create a folder called Private. This is where you can store all your secret things. When you have finished adding all your stuff to the Private folder, run locker.bat again.
This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.
You will see that your Private folder disappears quickly.
And if you run the script yet again, you will be prompted for a password.
If you enter the same password as you set in the script the Private folder will reappear if you enter the incorrect password the script will just Terminate. So now you have learnt How To Lock Folder Without Software. So what you are waiting for. Just remove all those other applications
This is all About How To Lock Folder Without Software if any problem do comment below...
If you liked this trick then please share this with your friends.
For more Tricks follow us on twitter @SomaniTechshow Also you can Like us on Facebook.
Now run your batch file by double clicking on it–the first time you run it, it will create a folder called Private. This is where you can store all your secret things. When you have finished adding all your stuff to the Private folder, run locker.bat again.
This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.
You will see that your Private folder disappears quickly.
And if you run the script yet again, you will be prompted for a password.
If you enter the same password as you set in the script the Private folder will reappear if you enter the incorrect password the script will just Terminate. So now you have learnt How To Lock Folder Without Software. So what you are waiting for. Just remove all those other applications
This is all About How To Lock Folder Without Software if any problem do comment below...
If you liked this trick then please share this with your friends.
For more Tricks follow us on twitter @SomaniTechshow Also you can Like us on Facebook.



No Comment to " Password protect folder without any software [How To] "
Thanks for your view.....will be added here soon after moderation.