I have tried this code in my .batch file
@echo off
Title Ping
color b
echo Enter the website you would like to ping
set input=
set /p input= Enter your Website here:
color d
echo Enter the password for the program
set input2=
set /p input2= Enter the Pass here:
color b
IF [input2] EQU [1234]
It should check if Input2 is equal to 1234 and if it is the script should continue, if it is not equal to 1234 it should just wait. I guess it is pretty simple but i dont seem to get it working. also script just crashes after the last line of code.
Aucun commentaire:
Enregistrer un commentaire