0

greets to the daniweb community, i hope i find you al well

firstly, any ideas here would be really appreciated, this ones really got me....

ok so i havent exactly had to use command prompt for a while, but last time i used it there was no problem... until now. The other wek i was trying to troubleshoot a network connectivity issue, so wanted to use ping, ipconfig, etc etc, but whenever i try to (i am the only administrator) i am confronted ith the error message:


"(ping/ipconfig/netstat etc) is not recognized as an internal or external command, operable program, or batch file"


please help guys as im sure you can understand how frustrating it is not being able to use command prompt!

thanks in advance

7
Contributors
9
Replies
11
Views
9 Years
Discussion Span
Last Post by maymonaise
0

First guess would be that your PATH environment variable is screwed up. If you go to Start, right click Computer, select properties, hit the Advanced System Settings link, and then hit the Environment Variables button, you should be able to find the Path. Make sure it's not empty.

0

hey guys, first of all thanks for the replies :)

i have attached a screenhsot of my environment variables, the box wouldn't expand so wb if u nee me to scroll down.

i remember editing these when i was learning java, but "ping" etc. were still working afterwards (i think)


please help as this is killing me day by day lol.


thanks again

Attachments environment_variables.jpg 42.78 KB
0

As forumdude123 suggested, did you try running cmd as admin?

Right click and select "Run as administrator".

0

vista requires an additional installation of all the standard tools. the usual add-remove windows components have all those disabled in the default installation, as well as the telnet and tftp client

2

I'm again suspicious of your PATH. Here's mine:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files (x86)\Windows Imaging\;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\Program Files\CA\eTrust Antivirus;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\

Notice the system directories at the beginning. These should be first, as they should be the first place the system looks for executables. Since they didn't show up in yours, I'm almost curious if something wiped your PATH out. You can try putting those back in (just edit the value from that dialog) and see if that fixes it. ping, for example, is in the %systemroot%\system32 directory.

Votes + Comments
this is exactly what i wanted, thanks!
0

Are you able to bring up a command prompt application by double clicking it ie c:\windows\system32\nslookup.exe?

AJZ

0

I'm again suspicious of your PATH. Here's mine:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files (x86)\Windows Imaging\;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\Program Files\CA\eTrust Antivirus;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\

Notice the system directories at the beginning. These should be first, as they should be the first place the system looks for executables. Since they didn't show up in yours, I'm almost curious if something wiped your PATH out. You can try putting those back in (just edit the value from that dialog) and see if that fixes it. ping, for example, is in the %systemroot%\system32 directory.

hello again, i would just like to say a BIG thank you to all of you who took the time out of your day to help me, it is very much appreciated.

The above quote was the solution to my problem, and i found the explaination really useful too, so a massive thanks to Infraction in particular, i shall be sure to boost your rep :P

Again thanks guys, I will try to help as many other Daniweb members as i can, to return the favour to this great community.

i wish you all the best in your endeavours and hope i dont have to start a new thread for a long time!

0

@infraction THANK YOU SO MUCH i took your path link and clicked the new box in the system section, then selected it and it worked now my only problem is i cant connect to any minecraft servers not even my own D:<

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.