According to my code, If %~1
is greater than 7000
, go to ExceedError
IF "%~1" GTR "7000" GOTO ExceedError
Contents of ExceedError
:
ECHO Value exceeded the maximum value. See help file.
EXIT /B
But this happened:
C:\modules>If "71" GTR "7000" GOTO ExceedError
C:\modules>Echo Value exceeded the maximum value. See help file.
Value exceeded the maximum value. See help file.
C:\modules>exit /b
What happened? Is there something wrong?
Full code: https://pastebin.com/rXg1mejy
Aucun commentaire:
Enregistrer un commentaire