Monday, April 20, 2009

Lock a folder in XP system (XP hacks)

Here is a Trick to lock you private folder in XP and unlock and access it at your will.

open notepad and write the following text in it
ren A locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}
ren b locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}
ren c locked.{21EC2020-3AEA-1069-A2DD-08002B30309D}
where A,b,c are the paths of the folders you want to lock!!
eg: d:\my music\bryan adams
save it after naming it as "lock.bat"
now the .bat file becomes path/location independent and can be placed anywhere and can function according to the paths specified within!
create another file in notepad and write...
ren XX:\locked.{21EC2020-3AEA-1069-A2DD-08002B30309D} A
ren XX:\locked.{21EC2020-3AEA-1069-A2DD-08002B30309D} B
ren XX:\locked.{21EC2020-3AEA-1069-A2DD-08002B30309D} C
where XX is the drive location of the earlier renamed files!
save the file naming "key.bat"
run lock.bat to lock all the specified folders
run key .bat to unlock all the earlier locked folders
have fun with this trick!!
note: the original was provided by "pramod"
all credits to him!!
great work!
keep it high