How to Lock a Folder in Windows 7/8/8.1
Being a Blogger I have a lot of stuff in my laptop that I don’t want to share with any one else, rather I don’t even want that they should even see that stuff. So what I do is simply put up a lock on my folder and keep a secret key to open up the folder. Well don’t think that the trick is only for bloggers , the trick can be easily implemented by any person who wants to hide his private stuff.
You all might be thinking that, its not possible to put up a password for a particular folder so how did I manage to do it?
Well in this post I will be sharing a really cool trick, which will enable you to set up a password for a particular folder easily, you wont even have to use CMD for this trick.
Follow These Steps to Lock a Folder:-
1. Firstly right click, go to new and make a new Notepad.
2. Once you have made a new notepad, open it up and copy the below given code in the notepad as it is.
clsEnd @ECHO OFF title Folder Locker if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCKif NOT EXIST Locker goto MDLOCKER CONFIRM echo Are you sure u want to Lock the folder(Y/N) set/p “cho=>” if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto END if %cho%==N goto END echo Invalid choice. goto CONFIRM LOCK ren Locker “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” attrib +h +s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” echo Folder lockedgoto End UNLOCK echo Enter password to Unlock folderset/p “pass=>” if NOT %pass%==YourPassword goto FAIL attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Locker echo Folder Unlocked successfullygoto End FAIL echo Invalid passwordgoto end MDLOCKER md Locker echo Locker created successfullygoto End End
3. Now once you have copied this, as it is Replace this PASSWORD HERE with your desired password.
4. Once you have followed all the above save this Notepad, file>Save As> and save the notepad by the name “locker.bat”‘
5. Now Double Click on locker.bat file, and it will automatically open up a folder named PRIVATE.
6. This is the locked folder where you can store all your stuff easily.
7. Once you have copied all the stuff that you want to hide just simply click on the locker.bat file again and you will see that the folder will vanish from there and the next time you open it by clicking on the locker file, it will ask you for the password.
So these were the 7 simple steps that you need to follow, in order to set a password for your folder. Hole you enjoyed it.
0 comments:
Post a Comment
Thanks for commenting you will be respond early as possible..........your comment will be published after Moderation