Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOS path question

1 view
Skip to first unread message

Bob Robesky

unread,
Jun 18, 2001, 4:04:14 PM6/18/01
to
I have a script that updates the Registry key
"HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\" with an
"updated" path. My problem is that even though the environment is updated
the DOS path is not. I have to go into Sytem Properties, Advanced,
Environment Variables, and click OK before the path is updated.

Is there anyway to force a DOS path update from within my script.

Thanks in advance.

Bob


Frank-Peter Schultze

unread,
Jun 19, 2001, 6:26:46 AM6/19/01
to
"Bob Robesky" <bob_r...@msgee.com> wrote in message news:<uaBYuDD#AHA.1896@tkmsftngp05>...

If you change NT4's system environment (=Registry) its changes won't
updated to all currently running processes. Only new processes will
inherit the new environment. Therefore you need to restart your
machine (or all programs and services...)

--
Frank-Peter Schultze <fpsch...@bigfoot.de>, http://www.FPSchultze.de

0 new messages