943,907 Members | Top Members by Rank

Ad:
Jan 7th, 2008
0

Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

Expand Post »
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
Reputation Points: 12
Solved Threads: 0
Light Poster
DeViAnT\gAmEr is offline Offline
45 posts
since Jul 2006
Jan 7th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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.
Reputation Points: 683
Solved Threads: 53
Posting Virtuoso
Infarction is offline Offline
1,580 posts
since May 2006
Jan 17th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

make sure that you run it in administrator mode.
Reputation Points: 20
Solved Threads: 9
Posting Pro in Training
forumdude123 is offline Offline
443 posts
since Jan 2008
Jan 18th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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
Attached Thumbnails
Click image for larger version

Name:	environment variables.jpg
Views:	869
Size:	42.8 KB
ID:	4841  
Last edited by DeViAnT\gAmEr; Jan 18th, 2008 at 4:26 pm.
Reputation Points: 12
Solved Threads: 0
Light Poster
DeViAnT\gAmEr is offline Offline
45 posts
since Jul 2006
Jan 20th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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

Right click and select "Run as administrator".
Reputation Points: 10
Solved Threads: 3
Newbie Poster
Oneder is offline Offline
11 posts
since Jan 2008
Jan 20th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 22nd, 2008
2

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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.
Reputation Points: 683
Solved Threads: 53
Posting Virtuoso
Infarction is offline Offline
1,580 posts
since May 2006
Jan 23rd, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

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

AJZ
Last edited by zelkea; Jan 23rd, 2008 at 12:21 pm.
Reputation Points: 40
Solved Threads: 32
Posting Whiz
zelkea is offline Offline
325 posts
since Jul 2006
Jan 24th, 2008
0

Re: Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

Click to Expand / Collapse  Quote originally posted by Infarction ...
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

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!
Last edited by DeViAnT\gAmEr; Jan 24th, 2008 at 3:06 pm.
Reputation Points: 12
Solved Threads: 0
Light Poster
DeViAnT\gAmEr is offline Offline
45 posts
since Jul 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Vista and Windows 7 Forum Timeline: My laptop toshiba satellite is DEAD :-(
Next Thread in Windows Vista and Windows 7 Forum Timeline: Windows Fax and Scan - using long distance cariers





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC