Computer Hope
Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: marvinengland on May 17, 2010, 11:32:33 PM
-
Default CMD PATH?
PATH=C:\Program Files\Windows Resource Kits\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\GnuWin32\bin
-
Default CMD PATH?
PATH=C:\Program Files\Windows Resource Kits\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\GnuWin32\bin
hello world
-
What do you want to know?
Every machine has differant stuff in the path because of the software installed.
-
What do you want to know?
When win 7 was installed there was a default path.
I can change the path:
path=%path%;c:\bin
But the default path returns when we exit and then return to the command prompt.
There is another method but I cannot get it to work?
[recovering disk space - old attachment deleted by admin]
-
What do you want to know?
Every machine has differant stuff in the path because of the software installed.
The thread title says it all.
The default Windows 7 PATH is
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShel l\v1.0\
For most people this will be
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
-
There is another method but I cannot get it to work?
Describe why it won't work