From: KJK::Hyperion <no...@li...> - 2002-07-06 16:34:24
|
At 11.15 06/07/2002, you wrote: >Yes, I verified it on Win98SE, WinNT4(SP6a) and Win2K Pro(SP2). On all >OS's an environment variable is expanded when using the default shell >(command.com/cmd.exe) or ReactOS cmd.exe! but our cmd.exe doesn't run on ReactOS (AFAIK). The problem is in the obsolete shell.exe. And if you look at our cmd.exe's sources, you'll see that it expands environment variables as part of the parsing > > ALDEBARAN\Hyperion [D:\home\Hyperion] > > ::set DOH=^%PATH^% >Why do you use '^%' instead of '%'? "^" is the escape character. I want DOH to be assigned the literal string "%PATH%", to show that Win32 won't expand it |