Tuesday 26 April 2011

0

Lock your folder without software

  • Tuesday 26 April 2011
  • saurav garg
  • Share


  • follow the instructions'
    Step 1: copy the following 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 Enter password to Unlock folder
    set/p "pass=>"
    if NOT %pass%==type your 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

    Step 2: Create a new Text document and past this code:

    Step 3: Save as batch file...name is like (extension .bat) e.g saurav.bat

    now u will see a bat file now double click on bat file a folder will create automatically in the same directory of name locker, now save your files in this folder and now double click on your .bat file, a command propmt window will popup which will ask you....


    simply press y which means you want to lock this folder and now your locker folder will be disappear. If you want to re-open the folder just double click on your .bat file and this will ask you the password to open the folder and your password will be the name of the your .bat file in this case it is saurav because we have created a saurav.bat file.

    If you like or dislike the post please give us your feedback..... :)



    after all double click on extension bat file the folder will be lock......




    Earn upto Rs. 9,000 pm checking Emails. Join now!

    0 Responses to “ Lock your folder without software ”

    Post a Comment