Lock A Folder Without using any Software
This trick has only been tested in Windows XP.
Suppose you want to lock the folder virus in D: which has the path D:\virus
In the same drive create a text file and type:
“ren virus virus.{21EC2020-3AEA-1069-A2DD-08002B30309D}” (Without the quotes)
Now save the text file as lock.bat
Create another text file and type in it:
”ren virus.{21EC2020-3AEA-1069-A2DD-08002B30309D} virus” (Without the quotes)
Now save the text file as key.bat
Now you can see 2 .bat files. Lock.bat and key.bat Press lock and the folder “virus” will change to control panel and you won’t be able to view its contents. Press key and you will get back your original folder.
Enjoy… Thank You.


March 5th, 2008 at 4:10 pm
[...] This trick has only been tested in Windows XP. Suppose you want to lock the folder virus in D: which has the path D:virus In the same drive create a text file and type: “ren virus virus.{21EC2020-3AEA-1069-A2DD-08002B30309D}” (Without … [...]
March 15th, 2008 at 5:45 am
Works perfectly. Of course if you really want to make it hard to unlock it the key and lock are not in the same folder as the locked item(should someone get curious)
cd \
cd [path]
ren [filename] [filename].{21EC2020-3AEA-1069-A2DD-08002B30309D}
with quotes around the [filename] should there be spaces in the name. I will have to test this on my vista rig once i get to it.
March 22nd, 2008 at 11:04 pm
Does not work on Vista Home Premium
December 18th, 2008 at 3:34 pm
Working nicely. Good trick to use.