Article ID: 35938 - View products that this article applies to.
This article was previously published under Q35938
Using batch files in MS-DOS, it is not possible to include an equal sign as an argument to a batch file. The batch file parser considers this to be a delimiter, such as a space or tab character. Thus, using the following one-line batch file (named TEST.BAT):
echo %1 %2If the following is entered:
TEST one=twoit would produce the following output
one twowhich shows that the batch file parser considers "one" the first argument, and "two" the second argument, with the equal sign being a delimiter. This makes it impossible to enter equal signs in batch files as command-line options.
Article ID: 35938 - Last Review: November 16, 2006 - Revision: 2.1
Contact us for more help
Connect with Answer Desk for expert help.