Hi,
Jose Antonio Senna escribió:
Logically,both are defensible. I prefer DRDOS behavior. Has somenone
tested this under MS-DOS ?
Probably syntax errors, ALL MS-DOS books instruct you to use the quotes:
IF "%1"="XYZ" GOTO...
Aitor
---
This SF.N
Jose Antonio Senna wrote:
I noticed another behavior difference between DRDOS and FreeDOS:
If,in a batchfile there is the line:
IF %1==XYZ GOTO LABEL
and no argument is passed in command line when calling the batch file,
Then DRDOS acts as if the comparison failed (that is,does not goto LABEL
wi
I noticed another behavior difference between DRDOS and FreeDOS:
If,in a batchfile there is the line:
IF %1==XYZ GOTO LABEL
and no argument is passed in command line when calling the batch file,
Then DRDOS acts as if the comparison failed (that is,does not goto LABEL
with above line,but goto LAB