Ever wanted to secure your folder when in hurry? Hate those bulky folder lock software? Here is a quick way to save your private stuff.
Creating a folder lock in windows is easy to build from scratch. Suppose you want to lock the folder movies in D: which has the path D:\movies. In the same drive create a text file, save it as Loc.bat and type
ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Create another text file and type in it
ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
Now save this text file as key.bat
Quick Add: To make different folder lock – Use one of the following
| Lock to | Lock code |
|---|---|
| Recycle Bin | {645FF040-5081-101B-9F08-00AA002F954E} |
| My Computer | {20d04fe0-3aea-1069-a2d8-08002b30309d} |
| My documents | {450d8fba-ad25-11d0-98a8-0800361b1103} |
| My Network Places | {208d2c60-3aea-1069-a2d7-08002b30309d} |
| Printers and Faxes | {2227a280-3aea-1069-a2de-08002b30309d} |
| Scheduled Tasks | {d6277990-4c6a-11cf-8d87-00aa0060f5bf} |
Now you have two files, one is Lock and other is its key. Press Lock and the folder movies will change to control panel or whatever you chose from above and you cannot view its contents. Press Key and you will get back your original folder.
Try out smart ways like renaming a folder as My computer and locking it with My Computer key to make it completely undoubted.
After locking keep both files to some other place and you have an Secured folder.
Only condition is that while locking or unlocking, the file location and folder which to be hidden should be in same directory other wise Lock/Key won’t function as desired.
How this works
Lock file has simple command line rename code which renames your real folder name to a code like ::{20d04fe0-3aea-1069-a2d8-08002b30309d} which itself is a CLSID List (Windows Class Identifiers) and hence Windows redirects it to My computer CLSID. Key file does just the opposite, it recalls the appended CLSID and restores your folder with real content.















0 comments