There’s a way to lock folder in Windows 7 without using any
third party software. It might be little difficult for average computer users. In
this post, I’m describing that way briefly:
- Create a
New Folder: Right click on desktop or in any other folder (where you want
to lock your files.) then, go to “New”
and then choose “New Folder”. Name
the folder for whatever you want to.
- Create a
Text Document: Now open the folder you just created and right click on the
blank space. Go to “New” and then click
on “Text Document”.
- Paste a Particular
Text: Open the Text Document and paste the following text in it.
cls@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 - Write
your Password: Now look for the word PASSWORD
in the text and replace it with your password.For e.g.- If the Password is askyourhow (See the image below)
- Save the
Text Document: Now the Text Document in the “.bat” format. Name it as “locker.bat”.
(Don’t forget to change the “Save as”
type to “All files”.)
- Now open the file you made in Step 1 and again open the file “locker.bat” A new folder named as “Private” will be created. This is the
folder where you have to paste everything you want to hide and lock.
- Now again open the “locker.bat” file, a new window will appear asking “Are you sure you want to lock the folder?”
- Press Y
and Enter, the “Private” folder will disappear.
- \Retrieve
your Files: To access your locked files, open the “locker.bat” file. A window will appear asking “Enter password to unlock folder”. Enter your password and your
folder will be back.
Important Note:
This method is not 100% secure. Check out the post s below for a secure locking:
How to a Lock Folder using third party software "SysTools Folder Key"?
How to Lock a Folder on Windows-7?
How to a Lock Folder using third party software "SysTools Folder Key"?
How to Lock a Folder on Windows-7?
I
hope this will be helpful for you. If any of the readers want to add anything
important in this article than share it with us in comments.
Stay tuned to know more about Gadgets, Windows, Care etc. Don't forget to like us on Facebook and follow us on Twitter and Google Plus.
nice trick
ReplyDeleteThis script is 100% waste.
ReplyDeletewe can easily view password if we try to edit the batch file.
It is for noobs...only
Delete100% waste.
ReplyDeletewe can see the password if we open the batch file in edit mode.
thats good thanx
ReplyDeleteThanks a lot.
Deletenice
ReplyDeleteThanks
DeleteMany Thanks!
ReplyDeleteThanks
Deleteha ha ha..... OLD SCHOOL.
ReplyDeleteONE CAN EASILY OPEN THE FOLDER FROM "FOLDER OPTIONS" LIKE SHOW HIDE PROPERTIES...
As said above for NOOBS only!!
DeleteGANDO METHOD
ReplyDeletehere Is A PRACTICAL LIVE DEMO of above steps
ReplyDeleteWatch this
http://www.youtube.com/watch?v=dz3wlAnQs7M
Here is A video WHO HAS A PROBLEM WITH BATCH FILE
watch this
http://www.youtube.com/watch?v=Mr95m34Z_wk
yeahhh man it will work fine.
ReplyDeletebut you need to store your password some where else so no one can see it by ryt click >> edit
refer the link for that. its another batch file you can use
http://errorcode401.blogspot.in/2013/06/FFlocker-1.0.html
Dont forget to give yout feedback :)