T
Tom Del Rosso
Using XP Pro SP3, if I set a variable with setx, then open a new cmd window
and type set, the variable is shown.
But if I open a new cmd window by right-clicking a folder and selecting
"command prompt", the window does not inherit system variables set earlier
in the same session.
My "command prompt" folder option is set up with this reg file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenCMDWindow]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCMDWindow\Command]
@="C:\WINDOWS\system32\cmd.exe"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCMDWindow]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCMDWindow\Command]
@="C:\WINDOWS\system32\cmd.exe"
--
and type set, the variable is shown.
But if I open a new cmd window by right-clicking a folder and selecting
"command prompt", the window does not inherit system variables set earlier
in the same session.
My "command prompt" folder option is set up with this reg file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenCMDWindow]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCMDWindow\Command]
@="C:\WINDOWS\system32\cmd.exe"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCMDWindow]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCMDWindow\Command]
@="C:\WINDOWS\system32\cmd.exe"
--