Wednesday, July 30, 2008

Lock or hide your drive, folder, files.

Locking Folders -
Let you want to lock a folder named XYZ in your D:\, whose path is D:\XYZ. Now open the Notepad and type the following
ren xyz xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Where xyz is your folder name. Save the text file as lock.bat in the same drive. Open another new notepad text file and type the following
ren xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D} xyz
Save the text file as unlock.bat in the same drive.
Now, to lock the xyz folder, simply click the lock.bat and it will change into control panel icon/link which is inaccessible. & to unlock the folder click the unlock.bat file. Thus the folder will be unlocked and the contents are accessible.