JSI Tip 0474 - C:\WINNT35 is not expanded in the Path.

Jerold Schulman

March 30, 1998

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you type SET or PATH at a command prompt, you notice that the %SystemRoot% environment variable has not been expanded. To correct this problem, edit:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironmentPath and make sure that Path is a type REG_EXPAND_SZ.

If it is not, double click on Path and press Ctrl / C to copy the string to the clipboard. Delete the Path value and re-add it using Add Value. Set the type to REG_EXPAND_SZ. Paste the string by pressing Ctrl / V. Now edit:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionSystemRoot and make sure that this REG_SZ value conains the proper path (C:WinNT).

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like