Article ID: 26719
Article Last Modified on 5/10/2003
APPLIES TO
- Microsoft MS-DOS 2.11 Standard Edition
- Microsoft MS-DOS 3.1
- Microsoft MS-DOS 3.2 Standard Edition
- Microsoft MS-DOS 3.21 Standard Edition
- Microsoft MS-DOS 3.3 Standard Edition
- Microsoft MS-DOS 3.3a
- Microsoft MS-DOS 4.0 Standard Edition
- Microsoft MS-DOS 4.01 Standard Edition
- Microsoft MS-DOS 5.0 Standard Edition
- Microsoft MS-DOS 5.0a
- Microsoft MS-DOS 6.0 Standard Edition
- Microsoft MS-DOS 6.2 Standard Edition
- Microsoft MS-DOS 6.21 Standard Edition
- Microsoft MS-DOS 6.22 Standard Edition
This article was previously published under Q26719
You cannot use an environment variable with an equal sign embedded in it. For example, the following variable does not work:
set EXRC=tabs=4
This is because MS-DOS interprets the equal sign as the delimiter between the environment variable name and its value (name=value). The environment area contains all of these strings, terminating each one with an ASCII null character 00H.
Also, there can be no spaces between the variable, the equal sign, and the string value.
Correct:
Set variable=string
Incorrect:
Set variable = string
Additional query words: 4.00 5.00 5.00a
Keywords: KB26719