Saturday, January 22, 2011

Creating folder which on Opening takes You to "Recycle Bin"

1.Assume folder name is RAJ,present in C:
    C:\RAJ

        My Computer
             |-------------->C:
             |                        |----->RAJ
             |                        |----->lock.bat
             |-------------->D:
                                     |---->key.bat
  
2.prepare a lock file.keep the lock file in c:
  Open a notepad and type the following

    ren RAJ RAJ.{645FF040-5081-101B-9F08-00AA002F954E}
     save the file. In file name type "lock.bat"   (include "")

3.prepare a key file.keep the key file in d:
  Open a notepad and type the following

  ren C:\RAJ.{645FF040-5081-101B-9F08-00AA002F954E} RAJ

save the file.In file name type "key.bat"   (include "")
______________________________________________________________________________

Note:key.bat,lock.bat should not be kept in same place,coz others can click key.bat to unlock the folder.
The location of key.bat should be known to you only.You may place key.bat anywhere.

Operation:

To lock the folder.Simply double-click lock.bat.The folder icon changes to Recycle-bin.
To unlock the folder.Simply double-click key.bat present in  D:

Modify as per your wish

No comments:

Post a Comment