mercredi 16 mai 2018

My If statement is not working BATCH

I require another evaluation on my code

if %programtorun% != "" (
echo test
pause
) else if %foundbootable% (
set oserrorcode=1
) else (
set computererrorcode=2
goto error
)
if %programtorun% == init.lua (
set foundbootable=true
)

I do not know what I'm doing wrong and if you need more details, please ask.

Aucun commentaire:

Enregistrer un commentaire