did anyone know about this? locking folders

Page 1 of 2 12 LastLast

  1. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
       #1

    did anyone know about this? locking folders


    1.Right click on any blank space on your desktop.
    2.Click New.
    3.Click Folder.
    4.Name the folder safe.
    5.Open your Notepad, copy and paste this code into it:
    ren safe safe.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} and save it with .bat extension. Ex. key.bat Save such a file on the desktop.
    6.Double click the key.bat and the folder and its content will be permanently locked!



    7.To unlock the folder, create another .bat file or delete the content of the key.bat file and paste this other code:
    ren safe.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} safe and click it.
    8.Done!


    Carmine
      My Computer


  2. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #2

    Wow, that's excellent. :) I will try it on my home pc. Work PC doesn't allow right click on desktop.
      My Computer


  3. Posts : 404
    Dual Booting Windows 7 64-Bit Ultimate Edition and Fedora 16.
       #3

    Yeah! this changed the icon to a lock one. But,
    How is it locked, I can read and write from and to the folder?
      My Computer


  4. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #4

    This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

    A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

    If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.
      My Computer


  5. Posts : 167
    Microsoft Windows 7 Ultimate (x64) Build 7601
       #5

    Lovely method. Bookmark'd this page! Thanks!
      My Computer


  6. Posts : 404
    Dual Booting Windows 7 64-Bit Ultimate Edition and Fedora 16.
       #6

    Bill2 said:
    If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.
    Thumbs Up!
      My Computer


  7. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
    Thread Starter
       #7

    Bill2 said:
    This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

    A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

    If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.


    the .bat files ( of course ) are in a different location


    how do you compile the batch into an exe ??? sounds cool
      My Computer


  8. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #8

    pacinitaly said:
    Bill2 said:
    This is an old trick, popular in the XP days. Problem with it is that anybody can right click that batch, click Edit and change/view the password. That defeats the entire purpose.

    A few ways to make it work is to password protect the batch itself, remove the batch to a different location say a thumb drive, compile the batch into an exe (so outsiders cant see the code) etc., but that kinda makes it tedious.

    If I needed to protect files/folders, i would just use a free, simple solution like Truecrypt.


    the .bat files ( of course ) are in a different location


    how do you compile the batch into an exe ??? sounds cool
    http://sysadmingeek.com/articles/convert-a-batch-bat-script-to-an-executable-exe-file/
      My Computer


  9. Posts : 1,113
    windows 7 professional & ultimate 64bit laptops
    Thread Starter
       #9

    Thanks Dinesh.
      My Computer


  10. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #10

    pacinitaly said:
    Thanks Dinesh.
    You're welcome.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:46.
Find Us