none
Locker Folder v2 RRS feed

  • General discussion

  • This is .bat folder locker, which cant be hacked. You can download the locker or just enter the code below in .txt and save it as Locker.bat.

    @echo off
    title Folder Locker v2.2
    echo FOLDER LOCKER! Updated by Daniil Shatilov!
    echo Enter the name of folder to lock/unlock it!
    :menu
    set /p folder=Name:
    echo Lock or unlock? (l\u)
    :ln
    set /p lockun=
    if %lockun% == l goto lock
    if %lockun% == u goto unlock
    echo L or u.
    goto ln

    :lock
    IF EXIST "%folder%"\pass.lock goto lockno
    echo Lock the folder? (y\n)
    :lockyesno
    set /p folderlock=?:
    if %folderlock% == y goto lockok
    if %folderlock% == n goto menu
    echo Y or n.
    goto lockyesno

    :lockok
    md "%folder%"
    echo Place files in folder now.
    start "%folder%"
    pause
    echo Enter password for folder!
    set /p passlock=Password:

    ECHO %passlock% >> "%folder%"\pass.lock
    echo Password successfully entered.
    attrib +h +s "%folder%"
    echo Folder Locked! 
    goto menu

    :unlock
    IF NOT EXIST "%folder%" goto notexist
    echo Unlock the folder with password, please!
    set /p passreal=<"%folder%"\pass.lock
    :passunlock
    set /p passunlock=Password: 
    IF %passunlock% == %passreal% goto unlocking
    echo Wrong password!
    goto passunlock

    :unlocking
    attrib -h -s "%folder%"
    echo Folder unlocked! 
    pause
    goto menu

    :notexist
    echo Folder doesn't exist. 
    pause
    goto lock

    :lockno
    echo Folder already locked!
    pause
    goto unlock


    Really cool. Idea by sai_B_995c29. Updated by me.




    • Edited by danshat Sunday, March 16, 2014 3:36 PM Update 2.2
    Sunday, March 16, 2014 3:01 PM

All replies