FILE LOCKER
Here is yet another .bat program I have created and is now sharing with the rest of yall. now I made this with 2 batch files (menu)(sign in).ENJOY!!!
Creating the Menu
@echo off
color 0c
title File locker
if EXIST "HTG Locker" goto menu
if NOT EXIST Private goto MDLOCKER
:menu
cls
echo ___MENU___
echo 1) lock/unlock
echo 2) Exit
set /p mn=:
if %mn%==1 goto veri
if %mn%==2 exit goto menu
:veri
cls
echo ___LOCK___
echo press (1)
echo ___unlock___
echo press (2)
set /p lu=:
if %lu%==1 goto Lk
if %lu%==2 goto unLK goto veri
:Lk
cls
ren Private "HTG Locker" attrib +h +s "HTG Locker"
goto End
:unLK
if EXIST "HTG Locker" goto ps
if NOT EXIST Private goto MDLOCKER
:ps
cls
call filelock1.bat
:MDLOCKER
md Private
echo Private created successfully
ping localhost -n 3 >nul
goto menu
:End
cls
echo FILE HAS SUCCESSFULLY BEEN LOCKED!
ping localhost -n 3 >nul
color 0c
title File locker
if EXIST "HTG Locker" goto menu
if NOT EXIST Private goto MDLOCKER
:menu
cls
echo ___MENU___
echo 1) lock/unlock
echo 2) Exit
set /p mn=:
if %mn%==1 goto veri
if %mn%==2 exit goto menu
:veri
cls
echo ___LOCK___
echo press (1)
echo ___unlock___
echo press (2)
set /p lu=:
if %lu%==1 goto Lk
if %lu%==2 goto unLK goto veri
:Lk
cls
ren Private "HTG Locker" attrib +h +s "HTG Locker"
goto End
:unLK
if EXIST "HTG Locker" goto ps
if NOT EXIST Private goto MDLOCKER
:ps
cls
call filelock1.bat
:MDLOCKER
md Private
echo Private created successfully
ping localhost -n 3 >nul
goto menu
:End
cls
echo FILE HAS SUCCESSFULLY BEEN LOCKED!
ping localhost -n 3 >nul
Creating the Login Page/unlocking Action
@echo off
title Batch Programmer
:top
cls
color 09
echo --------------------------------------------------------------------------------
echo IIIIIIIIIIII IIIIIIII IIIIIIIIIIII II II IIIIIIII II II !!
echo II II II IIII II II IIII II !!
echo II II II II II II II II II II !!
echo IIIIIIIIIIII II II IIII II II II II II II II !!
echo II II II II II II II II II II II
echo II II II II II IIII II II IIII !!
echo IIIIIIIIIIII IIIIIIII IIIIIIIIIIII II II IIIIIIII II II !!
echo --------------------------------------------------------------------------------
echo --------------------------------------------------------------------------------
set /P "user=>"
if %user%==HELLcat goto start
if not %user%==HELLcat goto fail
goto top
:start
set /P "ssap=>"
if %ssap%==Hello goto bottom
if not %ssap%==Hello goto fail
goto top
:bottom
cls
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
ping localhost -n 4 >nul
goto end
:fail
cls
color 0c
echo The password or username is invalid!
ping localhost -n 3 >nul
goto top
:end
exit
Hope yall enjoy it and have fun with it!!!
HINT: I used a bat to exe converter so that people can't just edit the code.( make sure if you change it to an .exe to switch it from " call test.bat " to " start test.exe"
title Batch Programmer
:top
cls
color 09
echo --------------------------------------------------------------------------------
echo IIIIIIIIIIII IIIIIIII IIIIIIIIIIII II II IIIIIIII II II !!
echo II II II IIII II II IIII II !!
echo II II II II II II II II II II !!
echo IIIIIIIIIIII II II IIII II II II II II II II !!
echo II II II II II II II II II II II
echo II II II II II IIII II II IIII !!
echo IIIIIIIIIIII IIIIIIII IIIIIIIIIIII II II IIIIIIII II II !!
echo --------------------------------------------------------------------------------
echo --------------------------------------------------------------------------------
set /P "user=>"
if %user%==HELLcat goto start
if not %user%==HELLcat goto fail
goto top
:start
set /P "ssap=>"
if %ssap%==Hello goto bottom
if not %ssap%==Hello goto fail
goto top
:bottom
cls
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
ping localhost -n 4 >nul
goto end
:fail
cls
color 0c
echo The password or username is invalid!
ping localhost -n 3 >nul
goto top
:end
exit
Hope yall enjoy it and have fun with it!!!
HINT: I used a bat to exe converter so that people can't just edit the code.( make sure if you change it to an .exe to switch it from " call test.bat " to " start test.exe"