Saturday, June 4, 2011

Lock and Unlock Folder withour software

How to lock Your private folder using any software... if want to do this follow this tricks:
  • First select Your folder which you want to lock. Suppose paint is my private folder and it stored into E:\ drive.
  • In the same drive ( eg. E:\) you need to create two bat file. Create a new text file there & Open it in note pad. Type in:

    ren paint paint.{21EC2020-3AEA-1069-A2DD-08002B30309D}
    Save it in as lock.bat
  • Again open another text file and type
    ren paint.{21EC2020-3AEA-1069-A2DD-08002B30309D} paint
    Now save this as a unlock.bat .

Now you can see 2 batch files lock and unlock.Double click on Press lock.bat and the folder paint's icon will change to control panel and you cannot view its contents.

Double click on unlock.bat and you will get back your original folder.

Note: Edited for Clarity.

Also if you want lock/unlock a sub folder, you need to create the bat files in the root folder and not in the root drive. ie. For locking C:\files\mysecret create the bat files in C:\files\.


Post a Comment

Dear Visitor If you like my post please post your Comments

Search This Blog