Lock folders without any Softwares !!!

mldarshana

Well-known member
  • Apr 2, 2007
    34,059
    1,404
    113
    ආශ්චර්ය අභියස :nerd:
    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
     

    *danushka*

    Well-known member
  • Oct 15, 2007
    13,922
    1,098
    113
    Hali-ela
    machan folder akata files dala aka ayeth double click kalama aka nikanma open wenawane.password akak ahane nahane,,,,,,,
     

    *danushka*

    Well-known member
  • Oct 15, 2007
    13,922
    1,098
    113
    Hali-ela
    a hari hari machan wade alla gattha.folder akata files copy karala.double click karanna ona bat file aka.athakota wade hari...........
     

    Jack_Sparrow

    Well-known member
  • Jun 16, 2008
    42,522
    1
    16,927
    113
    Black Pearl
    *danushka* said:
    a hari hari machan wade alla gattha.folder akata files copy karala.double click karanna ona bat file aka.athakota wade hari...........

    machan oke podi awulak thiyanawa neda?

    kawuru hari ekek program eke script ka open kaloth Pass eka balaganna puluwan neda?


    :baffled::baffled::baffled:
     

    dinukaperera

    Well-known member
  • Dec 21, 2006
    1,630
    517
    113
    *danushka* said:
    machan folder akata files dala aka ayeth double click kalama aka nikanma open wenawane.password akak ahane nahane,,,,,,,

    You have to lock it machan. Put files into the locker folder. Then click the .bat file
    It will show to lock folder
     

    Thilinacba

    Well-known member
  • Sep 7, 2006
    13,526
    2,752
    113
    if i chooes show hidden folders i still can see the folder and i can access too

    so not dat much useful
     

    Jack_Sparrow

    Well-known member
  • Jun 16, 2008
    42,522
    1
    16,927
    113
    Black Pearl
    mldarshana said:
    Ekata tamai bat file eka exe ekak widiyata convert karaganna kiyala yatin daala tiyenne :P
    Yako BAT walin thiyana eka open karala balahan note pad eken , ethakota oka penei :P:P:P:P:P
     
    Last edited:

    mldarshana

    Well-known member
  • Apr 2, 2007
    34,059
    1,404
    113
    ආශ්චර්ය අභියස :nerd:
    Jack_Sparrow said:
    Yako BAT walin thiyana eka open karala balahan nite pad eken , ethakota oka penei :P:P:P:P:P

    umbata sinhala terenne nae wage .... bat file eka .EXE file ekak widiyata convert karaganin wena software ekakin ..... nathnam edit karanna puluwan tamai

    PS: 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.

     

    Thilinacba

    Well-known member
  • Sep 7, 2006
    13,526
    2,752
    113
    tell me iss there any way to store bat file some where else and keep locker folder some where else?

    so even if some1 opened it there is nothing to see