To lock a folder in XP

open notpad and copy the following code and save it as lock.bat cls@ECHO OFFtitle Folder Lockerif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST porno goto MDLOCKER:CONFIRMecho Are you sure u want to Lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren porno "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock folderset/p "BAS=>"if NOT %BAS%==type your password here goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" pornoecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd pornoecho Locker created successfullygoto End:End

3 comments:

Anonymous said...
December 8, 2007 at 1:03 PM

what is the procedure to go about it.....what we have to do with it...

Anonymous said...
December 11, 2007 at 3:14 AM

whats the procedure and what we have to do with that. leave comments at dolfendream@gmail.com

regards in advance

Anonymous said...
December 13, 2007 at 12:37 PM

sorry its not working
first try urself then tell me full procedure at
gauravmodi2001@yahoo.com or
gauravmodi2001@gmail.com