how to lock a folder without using any software in xp!

Billl Gates

Well-known member
  • May 4, 2008
    11,573
    82
    48
    39
    Pita KOtte
    MEKA PODDAK TRY KARALA BALALA KIYANNA (Mama Try Kara Hari Giye nehe)



    how to lock a folder without using any software in xp!
    *Copy the following codes (Marked in blue colour):

    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


    * Now paste it in notepad.
    * Change the "type your password here" with your password (Marked as bold in the above posted matter).
    * Save it as batch file(with extension .bat).Any name will do.
    * Now you see a batch file. Double click it to create a folder locker.
    * A new folder named Locker would be formed at the same location.
    * Now brings all the files you want to hide in the locker folder.
    * Now double click the batch file to lock the folder namely Locker.
    * If you want to unlock your files,double click the batch file again and you would be prompted for password.Enter the password and enjoy access to the folder.



    MEKA PODDAK TRY KARALA BALALA KIYANNA
     

    Ashhab

    Well-known member
  • Jan 12, 2009
    1,712
    97
    63
    33
    GalleStar
    Uba BillGates ne BillGates Nam Mokaka Hari Hoyagaththama Test Karala Thami Velada Polata danne , Evunata me Lankan BillGates Apita Check Karanna Kiyanava ,

    Any way I'll try
     

    blackhole

    Member
    Jul 3, 2007
    606
    4
    0
    46
    In a Blackhole
    Billl Gates said:
    thanks !!!!!!!!!!!!!!!!!!!!!

    Me magula wedak ne ban !!!!!!!!!!!!:no: :no: :no: :no: :no:

    Menna lock arina code eka

    run --> cmd --> ok

    change to the drive n parent folder if any
    (like d: --> cd test)

    type DIR /ad
    now you can see the folder

    cd C*
    now you are in that ***Locaked Folder*** without password

    now you can copy files to anywhere
    no need any password
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:
     

    Billl Gates

    Well-known member
  • May 4, 2008
    11,573
    82
    48
    39
    Pita KOtte
    blackhole said:
    Me magula wedak ne ban !!!!!!!!!!!!:no: :no: :no: :no: :no:

    Menna lock arina code eka

    run --> cmd --> ok

    change to the drive n parent folder if any
    (like d: --> cd test)

    type DIR /ad
    now you can see the folder

    cd C*
    now you are in that ***Locaked Folder*** without password

    now you can copy files to anywhere
    no need any password
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

    hafoi........
     

    djrandika

    Member
    Sep 1, 2008
    7
    0
    0
    ade bill gate ge post eka elatama wada karanawa... hariyata try karapan... java codes nam newei... me batch file ekak ne bannnnnnzzzzzzzzzzzzz.
     

    rgayan

    Member
    Nov 30, 2008
    103
    2
    0
    blackhole said:
    Me magula wedak ne ban !!!!!!!!!!!!:no: :no: :no: :no: :no:

    Menna lock arina code eka

    run --> cmd --> ok

    change to the drive n parent folder if any
    (like d: --> cd test)

    type DIR /ad
    now you can see the folder

    cd C*
    now you are in that ***Locaked Folder*** without password

    now you can copy files to anywhere
    no need any password
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:



    You are Correct But You have to know the Path Of the File

    After You locked How to find the path of the folder ??????????

    Am I wrong:rolleyes: :rolleyes: :rolleyes: