Using MS-DOS Environment Variable as Command-Line OptionLast reviewed: July 2, 1996Article ID: Q153163 |
The information in this article applies to:
SYMPTOMSWhen 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? CAUSEWindows 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.
RESOLUTIONTo work around this behavior, use any of the following methods:
|
KBCategory: kbenv kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |