Article ID: 153163 - Last Review: November 15, 2006 - Revision: 1.1 Using MS-DOS Environment Variable as Command-Line OptionThis article was previously published under Q153163 SYMPTOMS
When you use an MS-DOS environment variable (such as %VARIABLE%) as a
command-line option when you run a program (such as Notepad), you may
receive the following message:
Cannot find the %VARIABLE%.txt file. Do you want to create a new file? CAUSE
Windows 95 interprets the environment variable as a file name because the
percent (%) character is a valid character in a long file name in Windows
95.
RESOLUTION
To work around this behavior, use any of the following methods:
| Article Translations
|

Back to the top
