Windows batch files: how to compare command line argument to an integer Windows batch files: how to compare command line argument to an integer windows windows

Windows batch files: how to compare command line argument to an integer


Change line:

If ("%4"== "3") (echo testyes) Else (echo testno)

to:

If "%4"=="3" (echo testyes) Else (echo testno)