save as “locker.bat”
(use compulsory .bat extension)
Copy range -- cls to :End
cls
@ECHO OFF
title Folder Protection software by Aryan
if EXIST MyComputer.{20D04FE0-3AEA-1069-A2D8-08002B30309D} goto UNLOCK
if NOT EXIST MyComputer goto MDLOCKER
:CONFIRM
set choice=
set /p choice=Are you sure u want to Lock the folder(Y/N) =
if %choice%==Y goto LOCK
if %choice%==y goto LOCK
if %choice%==n goto End
if %choice%==N goto End
:LOCK
ren MyComputer MyComputer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
cls
color 4f
echo.
echo.
echo.
echo.
echo MyComputer Folder locked Successfully
echo.
echo.
echo.
echo.
echo.
pause
goto End
:UNLOCK
set choice=
set /p choice=Enter password to Unlock folder =
if %choice%==12345 goto PASS
if NOT %choice%==12345 goto FAIL
pause
goto End
:PASS
ren MyComputer.{20D04FE0-3AEA-1069-A2D8-08002B30309D} MyComputer
color 17
echo.
echo.
echo * *
echo * *
echo * *
echo * *
echo * *
echo * CONGRATULATION *
echo * *
echo * *
echo * *
echo * *
echo *
echo.
echo.
echo MyComputer Folder Unlocked successfully
echo.
echo.
echo.
echo.
pause
goto INFOR
:FAIL
color 64
echo.
echo.
echo.
echo Invalid password.... Please Retry
echo.
echo.
echo.
echo.
pause
goto End
:MDLOCKER
md MyComputer
echo.
echo.
echo.
echo MyComputer NAME Folder created successfully
echo.
echo.
echo.
echo on your Active screen
echo *******PLEASE CHECK INFORMATION GUIDE******
echo.
echo without closing this software
echo.
echo.
echo.
pause
goto End
:INFOR
cls
color fc
echo.
echo.
echo.
echo.
echo.
echo Thank You for using this softrware
echo.
echo Created by
echo.
echo Aryan
echo.
echo.
echo.
echo.
echo.
pause
goto End
:EXIT
exit
:End
1:-And after run locker file in desktop screen or another disk.
2:-Run locker software you can see automatically created “MyComputer” name
folder on your active screen.
how to unlock folder
Note:-Do not change folder name .
Do not change lock folder location.
No comments:
Post a Comment