|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
|
cmd.exe error
i go to Run>cmd or cmd.exe
every time i try to type a command like "ping" or "tracert" or "ipconfig" or anything, this is an example: 'ipconfig' is not recognized as an internal or external command, operable program or batch file. i wanna try to fix this asap |
|
|
|
|
|
#2 |
|
Ride 'em Cowboy
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,108
|
Try running it from the root C:\ prompt.
|
|
|
|
|
|
#3 | |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Quote:
C:\Windows\system32\ping.exe Where Windows represents your Windows directory (it could be WinNT). If it works, then your paths are screwed up, post back here for a fix. If it still doesnt work, then you probably dont have the simple TCP/IP tools installed. |
|
|
|
|
|
|
#4 |
|
Member (7 bit)
|
i tried cd'ing to C:/, it changes the dir, but it still doesnt work, same error. then i tried the C:\Windows\system32\ping.exe and it closes the second it opens. I remember when I was screwin around with my services.msc that i dont have Simple TCP/IP Services that I had on my other computers, how do i fix this?
|
|
|
|
|
|
#5 |
|
Professional gadfly
|
Open the command prompt and type SET. What is stored in the PATH variable?
|
|
|
|
|
|
#6 |
|
Member (7 bit)
|
The path variable is:
Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\dpp\ |
|
|
|
|
|
#7 | |
|
Professional gadfly
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Member (7 bit)
|
by "Room" I hope you mean "Root"
SystemRoot=C:\WINDOWS What commands are there that arn't ip related? |
|
|
|
|
|
#9 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Try typing: chkdsk
|
|
|
|
|
|
#10 |
|
Member (7 bit)
|
'chkdsk' is not recognized as an internal or external command, operable program or batch file.
:/ |
|
|
|
|
|
#11 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Hmm .. I just picked up on something that doesnt sound right, someone else correct me if it is; if you issued a SET command from a command prompt, you shouldnt be seeing your path as "Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\dpp\"
You should actually be seeing a substitution of %SystemRoot% with C:\Windows Please verify that you are checking with the SET command and not with the environment variables GUI from your system properties? |
|
|
|
|
|
#12 |
|
Member (7 bit)
|
I clicked start, went to run, typed cmd, typed SET in the command prompt, and it came back with a bunch of variables.
And when I went to System Properties: Enviremont Variables. The path value says: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\dpp\ Last edited by Noldster; 08-04-2004 at 06:51 PM. |
|
|
|
|
|
#13 |
|
Member (7 bit)
|
only ^bumpin^ this once to see if anyone has any last words ;o
|
|
|
|
|
|
#14 | |
|
Member (1 bit)
Join Date: Aug 2004
Posts: 1
|
Quote:
I search for Google when having the same problem and found this topic. I manually removed the %SystemRoot%; portion (single piece without the additional dirs) from the PATH variable and it works again now. Perhaps this solve your problem as well. I guess Windows already defines the SYSTEM_ROOT variable as a path variable. Good luck! |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|