This article was previously published under Q35938
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Using batch files in MS-DOS, it is not possible to include an equalsign as an argument to a batch file. The batch file parser considersthis to be a delimiter, such as a space or tab character. Thus, usingthe following one-line batch file (named TEST.BAT):
echo %1 %2
If the following is entered:
it would produce the following output
which shows that the batch file parser considers "one" the firstargument, and "two" the second argument, with the equal sign being adelimiter. This makes it impossible to enter equal signs in batchfiles as command-line options.