Skip navigation

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

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_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path 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_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRoot and make sure that this REG_SZ value conains the proper path (C:\WinNT).

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish