Friday 5 October 2012

lock and unlock folders via batch script

This one trick is very simple and handy,and has saved me a lot of times. basically what we do here is rename a given folder
to a locked folder or control panel/recycle bin in xp. windows does not sees folders as we do,for it there are codes,thus we rename our folder with just that code.
Just open notepad and copy the two scripts in separate files and save with.bat xtnsn

The locking batch script is
REN folder_name folder_name.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}

The unlocking batch script is
REN folder_name.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} folder_name

use these to lock any folder and hide them where only u can find them
Trust me no one suspects an innocent batch file in a system folder

0 comments:

Post a Comment

waddya think?