From: Eric K. <ek...@rz...> - 2002-07-06 09:11:23
|
"KJK::Hyperion" <no...@li...> wrote: > > > Sorry, but I think the bug is in the ReactOS shell. It should > > > ExpandEnvironmentStrings() the command line > >The ReactOS shell (shell.exe) doesn't support environment variables at all. > >The problem was that the expansion of environment variables works on > >Windows when cmd is used. Although cmd doesn't call > >ExpandEnvironmentStrings(). SetEnvironmentVariable() expands environment > >variables but ReactOS didn't implement that. > > has this been verified? because here (Windows 2000 Professional) I'm able > to set a variable to "%PATH%" without it being expanded: 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! I always used the command 'set zod=%path%'. > ALDEBARAN\Hyperion [D:\home\Hyperion] > ::set DOH=^%PATH^% Why do you use '^%' instead of '%'? Eric |