Lock folders without any Softwares !!!

I.Udara

Member
Jan 2, 2008
2,495
13
0
Pass eken Vadak naha. Me gana danna eketta thawa pass ehekin .bat ekak hadala Oka Unlock karanna Puluwan.
 

hekrock

Well-known member
  • Nov 23, 2006
    1,499
    31
    48
    Colombo
    mldarshana said:
    Lock folders without any Softwares

    Lock your folder without using any software, use this self made custom program to serve your purpose.

    Copy the following program
    ------------------------------------
    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 go for following few steps
    1>copy above program into notepad.
    2>the text which is written in bold letters delete it & type your password there.
    3>save that file by extension .bat ( name is Your choice)
    4>now on Your screen there is a bat file appear.
    5>double click on that file.
    6>you will see the locker folder.
    7>save the files in that folder.
    8>double click on that folder & lock that folder
    9>after locking that folder it will become hidden.
    10>to open that folder double click on that bat file
    11>type your password & open that folder..

    How it works
    first try this:-
    Suppose you want to lock the folder xyz in e: which has the path e:\xyz.In the same drive create a text file and type
    ren xyz xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D}
    Now save this text file as lock.bat
    Create another text file and type in it
    ren xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D} xyz
    Now save this text file as unlock.bat
    Now you can see 2 batch files lock and unlock.


    Explanation:-
    Press lock and the folder xyz will change to control panel and you cannot view its contents.Press unlock and you will get back your original folder.
    That’s exactly the program above does…it creates a folder and when you lock it, it gets converted to the control panel and when you unlock it vice versa takes place and you get your folder back..


    Special notes:-
    As this is a simple .bat file anyone can right click it and edit it. To get out of this i will advise you to convert it into an executable file. Many softwares are available on the net, Google out.


    Source:-
    Hacker’s Library Forum
    thx a lot machoooooooooooooooooooo
     

    sid

    Active member
  • May 13, 2007
    763
    46
    28
    Kandy
    I.Udara said:
    Pass eken Vadak naha. Me gana danna eketta thawa pass ehekin .bat ekak hadala Oka Unlock karanna Puluwan.

    e kathawa aththa, bt system file ekak widiyata newi hide wenne.. jst chk n see wx crrect o not...and though we unhide all the files, this particular folder "Locker" remain same ..., hidden . and google and get a freeware to cnvert it to a .exe

    mage nam exe kalata passe elatama wada.... case ekakata thiyenne "I.Udara" kiyapu scene eka....:(

    thamangema icon ekak daala compile karala gaththama "magema folder lock"ekak ....
    kaatada aadambara ne......?;)

    Thanks a lot machang.... @mldarshana:)
     

    dilckavee

    Member
    Jun 7, 2008
    1,077
    0
    0
    mldarshana said:
    Lock folders without any Softwares

    Lock your folder without using any software, use this self made custom program to serve your purpose.

    Copy the following program
    ------------------------------------
    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 go for following few steps
    1>copy above program into notepad.
    2>the text which is written in bold letters delete it & type your password there.
    3>save that file by extension .bat ( name is Your choice)
    4>now on Your screen there is a bat file appear.
    5>double click on that file.
    6>you will see the locker folder.
    7>save the files in that folder.
    8>double click on that folder & lock that folder
    9>after locking that folder it will become hidden.
    10>to open that folder double click on that bat file
    11>type your password & open that folder..

    How it works
    first try this:-
    Suppose you want to lock the folder xyz in e: which has the path e:\xyz.In the same drive create a text file and type
    ren xyz xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D}
    Now save this text file as lock.bat
    Create another text file and type in it
    ren xyz.{21EC2020-3AEA-1069-A2DD-08002B30309D} xyz
    Now save this text file as unlock.bat
    Now you can see 2 batch files lock and unlock.


    Explanation:-
    Press lock and the folder xyz will change to control panel and you cannot view its contents.Press unlock and you will get back your original folder.
    That’s exactly the program above does…it creates a folder and when you lock it, it gets converted to the control panel and when you unlock it vice versa takes place and you get your folder back..


    Special notes:-
    As this is a simple .bat file anyone can right click it and edit it. To get out of this i will advise you to convert it into an executable file. Many softwares are available on the net, Google out.


    Source:-
    Hacker’s Library Forum

    :P oh..loku ayyata giya kalak
     

    gayancc

    Active member
  • Sep 8, 2007
    3,357
    8
    38
    my lap
    Jack_Sparrow said:
    Repost da mada:rolleyes::rolleyes:

    k thnx machan


    mokak unath ban wedagath deyak eka okkotama oya bane kiwwoth aluthen ena ayata hulan
    :frown: :frown: :frown: :frown: :frown:

    anyway thnx machan meka dammata ela kiri programe ekak thnx