Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-04-2004, 12:31 AM   #1
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
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
Noldster is offline   Reply With Quote
Old 08-04-2004, 06:32 AM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,108
Try running it from the root C:\ prompt.
EzyStvy is online now   Reply With Quote
Old 08-04-2004, 07:48 AM   #3
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Quote:
Originally Posted by Noldster
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
Try running the following command:
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.
Statica is offline   Reply With Quote
Old 08-04-2004, 11:31 AM   #4
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
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?
Noldster is offline   Reply With Quote
Old 08-04-2004, 11:40 AM   #5
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Open the command prompt and type SET. What is stored in the PATH variable?
doctorgonzo is offline   Reply With Quote
Old 08-04-2004, 11:46 AM   #6
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
The path variable is:

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\dpp\
Noldster is offline   Reply With Quote
Old 08-04-2004, 12:09 PM   #7
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Quote:
Originally Posted by Noldster
The path variable is:

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\dpp\
So what is the SystemRoom variable set to? Also, are the only commands that fail related to IP, or do other commands located in the system32 directory also not work?
doctorgonzo is offline   Reply With Quote
Old 08-04-2004, 04:15 PM   #8
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
by "Room" I hope you mean "Root"
SystemRoot=C:\WINDOWS

What commands are there that arn't ip related?
Noldster is offline   Reply With Quote
Old 08-04-2004, 04:17 PM   #9
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Try typing: chkdsk
Statica is offline   Reply With Quote
Old 08-04-2004, 04:44 PM   #10
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
'chkdsk' is not recognized as an internal or external command, operable program or batch file.

:/
Noldster is offline   Reply With Quote
Old 08-04-2004, 06:44 PM   #11
Premium Member
 
Statica's Avatar
 
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?
Statica is offline   Reply With Quote
Old 08-04-2004, 06:46 PM   #12
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
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.
Noldster is offline   Reply With Quote
Old 08-05-2004, 09:02 PM   #13
Member (7 bit)
 
Join Date: Sep 2003
Location: Wisconsin
Posts: 103
Send a message via AIM to Noldster Send a message via Yahoo to Noldster
only ^bumpin^ this once to see if anyone has any last words ;o
Noldster is offline   Reply With Quote
Old 08-15-2004, 02:43 PM   #14
Member (1 bit)
 
Join Date: Aug 2004
Posts: 1
Quote:
Originally Posted by Noldster
The path variable is:

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\dpp\
Hi there, Noldster!

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!
Hooka650 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:37 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2