Search

Wednesday, February 15, 2012

Lock/Unlock Folder Using .bat file

Suppose you want to lock the
folder games in d: which has
the path D:\Games
In the same
drive create a text file and
type
ren games games. {21EC2020-3AEA-1069-
A2DD-08002B30309D}
Now save this text file as
loc.bat create another text file and
type in it
ren games.
{21EC2020-3AEA-1069-
A2DD-08002B30309D} games
Now save this text file as key.bat Now you can see 2 batch files
loc and key.Press loc and the
folder games will change to
control panel and you cannot
view its contents.Press key
and you will get back your original folder. try it out!!!!!!!

No comments:

Post a Comment