Jump to content

Is there anything wrong with the following code because it says 'FATAL ERROR' and then shuts down the batch program after i input the password

 

set /p basicPass= Password:
if %basicPass%==nothing 
(
echo Your riddle techniques have showed off pretty well!!
echo you have passed!!
pause
goto hack2
)
else
(
echo OOPS!!
echo Try again...
pause
goto hack1
)
Link to comment
https://linustechtips.com/topic/502223-help/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×