Search This Blog

Wednesday, 13 June 2012

Lock Your Folder using Batch File

Suppose you want to lock the folder movies in d: which has the path D:\movies.

In the same drive create a text file and type


ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}


Now save this text file as loc.bat

=====================================
Create another text file and type in it


ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}

Now save this text file as key.bat
     Now you can see 2 batch files loc and key. Press loc and the folder movies 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

Blogger Widgets