+ Reply to Thread
Results 1 to 5 of 5

Thread: Lock any folder without any software

  1. #1

    Join Date
    10.04.09
    Location
    Valhalla
    P2P Client
    some sexymode
    Posts
    234
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss234

    Lock any folder without any software

    Lock and hide files without using software apps

    Note- Its different from Invisble as well hidden folder....here you need to have a password with which you can open your folder.

    Here is the Code:

    cls
    @ECHO OFF
    title Folder Locker
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    if NOT EXIST Locker goto MDLOCKER
    :CONFIRM
    echo Are you sure u want to Lock the folder(Y/N)
    set/p "cho=>"
    if %cho%==Y goto LOCK
    if %cho%==y goto LOCK
    if %cho%==n goto END
    if %cho%==N goto END
    echo Invalid choice.
    goto CONFIRM
    :LOCK
    ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    echo Folder locked
    goto End
    :UNLOCK
    echo stuff by satish
    echo Enter password to Unlock folder
    set/p "pass=>"
    if NOT %pass%==TYPE UR PASSWORD HERE goto FAIL
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
    echo Folder Unlocked successfully
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Locker
    echo Locker created successfully
    goto End
    :End

    Instructions:

    1) Copy the code above in a note pad and give it a name - name.bat (that is with the extension of .bat).
    Replace name with anything you want.
    Save the "*.bat" file where you want your locked (and not visible) folder on your pc.

    Note-- In the code where it says "TYPE UR PASSWORD HERE" - type your desired password (no quotes ").
    Your password can only contain letters and numerals - e.g. 0-9 and A-Z. Can use Caps but No symbols

    2) A batch file will be created where you have saved.
    Now double click on it, A folder with the name locker will be created in the same folder
    where the batch file is saved.

    3) Now add the files you want to be locked in that folder.

    4) Double click on the batch file.
    It will ask about locking the folder.
    Type y(yes).
    The folder will be locked and hidden.

    5) To unlock, double-click on batch file again and enter the password in the new window opened.

    6) The password can be changed by any body if they find this ".bat" file!
    So, make sure that you the name is not so obvious and put this in some place not so obvious.
    Not very many people will be looking for a .bat file.
    Tested By Me Working 100%
    regards starforce
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    Mihai (26.06.09) , Dynamic (26.06.09) , anonftw (25.06.09) , anon (25.06.09)

  3. #2
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,435
    Activity Longevity
    7/20 19/20
    Today Posts
    5/5 ssss39435
    The good old trick of using a CLSID as an extension, turning any folder into a Control Panel, Recycle Bin or My Computer.

    However, as far as I know you can still choose "Explore" from the context menu and see what's inside.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  4. Who Said Thanks:

    Dynamic (26.06.09) , anonftw (25.06.09)

  5. #3

    Join Date
    10.04.09
    Location
    Valhalla
    P2P Client
    some sexymode
    Posts
    234
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss234
    @anon
    i well test it for
    xplore" from the context menu and see what's inside
    regards
    starforce
    Reply With QuoteReply With Quote
    Thanks

  6. #4

    Join Date
    27.03.09
    Location
    Earth
    P2P Client
    SB-I
    Posts
    267
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss267
    So this confirms that you can browse the contents? Even when locked?
    Reply With QuoteReply With Quote
    Thanks

  7. #5
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,435
    Activity Longevity
    7/20 19/20
    Today Posts
    5/5 ssss39435
    Post #2? Yes.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  8. Who Said Thanks:

    Dynamic (27.06.09)

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •