Forum Home
Press F1
 
Thread ID: 114686 2010-12-13 06:46:00 Network Related CMD Prompts not working The Error Guy (14052) Press F1
Post ID Timestamp Content User
1161341 2010-12-13 06:46:00 Recently I tried to set up a few LAN network connections, this process went rapidly downhill when my laptops cmd prompt started to say commands like "ipconfig" and "ping" were "not recognized as internal or external command, operable batch blah blah."

If I run ipconfig from the run dialog the ipconfig window opens does its ipconfig and closes, so ipconfig is still on the PC and is still operable, I just can't use it through cmd or read fast enough to see what it says for the .5s its up on screen.

Any solutions? i'm running Windows 7 all updated and patched to date. nothing has changed that i'm aware of prior to this anomaly.

Cheers
The Error Guy (14052)
1161342 2010-12-13 06:48:00 Did you run the command prompt as admin? And did you use command.com or cmd.exe? Snorkbox (15764)
1161343 2010-12-13 06:53:00 Odd.
Maybe permissions?
Tried specifying the full path?
C:\windows\ping.exe or wherever it is kept.

If it works from the 'Run' box, pipe it's output to a file

ipconfig /all > c:\where\you\want\it\result.txt
fred_fish (15241)
1161344 2010-12-13 07:04:00 I've got that problem on my work PC. It's to do with your PATH settings.

Either fix your PATH environment variable, or specify the fully qualified path to the executable - C:\Windows\System32\ping.exe for example
somebody (208)
1161345 2010-12-13 07:22:00 ok fred running from C:\windows\system32\ping.exe and ipconfig.exe both get a valid response.

@Somebody, how do I fix the paths var? I coul use the full path, but thats rather annoying for when you wan to release and renew stuff

@Snork, UAC is off (hate the sucker) running cmd.exe as admin
The Error Guy (14052)
1161346 2010-12-13 07:33:00 System Properties - > Advanced - Environment Variables.

Add: C:\Windows\System32 to the "PATH" variable.
somebody (208)
1161347 2010-12-13 21:23:00 Ok, that fixed it. Cheers somebody! The Error Guy (14052)
1