Thread: Tips n tricks!
View Single Post
Old 11-05-2008   #113
Neoxter
Beyond the Code
 
Neoxter's Avatar
 
Last Online: 06-15-2014
Join Date: Sep 2008
Posts: 2,993
Thanks: 2,214
Thanked 3,426 Times in 1,499 Posts
Groans: 57
Groaned at 69 Times in 52 Posts
Default Re: Tips n tricks!

A very useful trick to lock a FOLDER. This trick has only been tested in Windows XP.

Suppose you want to lock the folder "test" in d: which has the path D:\test. In the same drive create a text file and type
ren test test.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Now save this text file as lock.bat

create another text file and type in it
ren test.{21EC2020-3AEA-1069-A2DD-08002B30309D} test
Now save this text file as key.bat

Now you can see 2 batch files lock and key.Press lock and the folder test will change to control panel and you cannot view its contents.Press key and you will get back your original folder.
Neoxter is offline   Reply With Quote
The Following User Says Thank You to Neoxter For This Useful Post:
jak (01-17-2009)