1

Possible Duplicate:
What is the default PATH environment variable setting on fresh install of Windows 7

It seems that my PATH settings were deleted by some program (it currently has only entries for Digital Mars D utilities), so I'm asking what directories are included in path by default? Even the most basic things such as tracert or ping are not working for me.

AndrejaKo
  • 17,075
  • 20
  • 80
  • 128

2 Answers2

2

I have:

%CommonProgramFiles%\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

2

See the Windows 7 column in Default Values on Microsoft Windows.

  • I don't think this actually answers the question. It might show the default values for the variable names, but it doesn't show what the default PATH settings are. –  Sep 27 '10 at 20:23
  • In the table, %PATH% and %PSModulePath% rows specify the default PATH settings. – Mehper C. Palavuzlar Sep 27 '10 at 20:28
  • they don't specify whether powershell is there or not in the PATH, and if anything it suggests it's not there by default, when quite likely it is. – barlop Sep 23 '16 at 05:17