Results 1 to 2 of 2

Thread: Lock Files

  1. #1
    Such Coin. Many Doge. AnAutisticDog's Avatar
    Join Date
    Jun 2007
    Location
    United States
    Age
    30
    Posts
    769

    Default Lock Files

    Does anybody know of a good program that I can use to lock folders?

    Something that lets me lock the folder, then when I need to access it all I have to do is put a password in.

    "Why does it say paper jam when there is no paper jam?"
    "That thing is lucky I'm not armed."

  2. #2
    Pinoy Ako! Leerz's Avatar
    Join Date
    Jul 2004
    Location
    Philippines
    Posts
    286

    Default Re: Lock Files

    there are third party programs out there that does just this.

    of course, you can do this on your own,
    here,
    [warning, do not test with folders that contain important data]

    Code:
    Lock any folder without any software:
    
    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 give code in a note pad and save the note pad in your pc with the name name.bat (that is with the extension of .bat). you can replace the name portion with anything you want.
    
    NoTe-- In place of password in the code given type your desired password.
    
    2) A batch file will be created where you have saved. Now double click on it, it will make a folder with the name locker at the same place 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 for locking the folder formed. 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.
    Source: http://www.google.com.ph/search?q=Lo...t+any+software
    Last edited by Leerz; May 2nd, 2008 at 08:38.

    Hoo000yy!!
    Pinoy Ako! buo aking Loob, may Agimat ang Dugo ko..
    H000ooooYYY!!-- Addicted To C/C++ and VB


    "http://leerz25.sitesled.com" "http://pepahgames.tk"


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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