Question:

I want to Lock any folder or file.?

by  |  earlier

0 LIKES UnLike

How its possible if I want to lock the folder or any file actually i want that nobady can delete or read my folder or file and i m using windows xp. Is this Possible without any software........Is there any function in windows xp.

 Tags:

   Report

4 ANSWERS


  1. yes it is possible without any software.........go throw the following instruction ..............................

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

    Here is the code

    cls

    @ECHO OFF

    title Folder Locker

    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303... 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-08002B303...

    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303...

    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-08002B303...

    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B303... 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 u want.

    Fine the following line in the code : "if NOT %pass%==type your password here goto FAIL" and replace the "type your password here" with the 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 save.

    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.

    try this...you have no need to install any software..like folder lock .......


  2. like jay has said

    windows doesnt give these features in any versions

    better use folder lock

    it comes for free trial

    if u like it u can buy it

    or surf for a free one


  3. use folder lock that is an easy option.

    Mr. Tulsi Gupta

  4. it is not possible without any software. use folder lock.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.