mercredi 19 avril 2017

How to make a "if VAR (less than or equal to) NUM" statement in a batch file?

Okay, so I have this bit of code

if %NPHP%<=0 goto deadPig

I need this to make sure my variable %NPHP% is less than, or equal to 0.

I think I just have the syntax wrong, can anyone help?

Aucun commentaire:

Enregistrer un commentaire