Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

Thread Solved

Join Date: Jul 2006
Posts: 44
Reputation: DeViAnT\gAmEr is an unknown quantity at this point 
Solved Threads: 0
DeViAnT\gAmEr's Avatar
DeViAnT\gAmEr DeViAnT\gAmEr is offline Offline
Light Poster

Vista: NO COMMANDS RECOGNIZED IN COMMAND PROMPT!!!

 
0
  #1
Jan 7th, 2008
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
"All that is needed for evil to triumph, is good men to do nothing"

- Just remember kids: "it's not a bug - it's a feature!"

http://www.danasoft.com/sig/Icanseeyou286359.jpg
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,580
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

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

 
0
  #2
Jan 7th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 443
Reputation: forumdude123 is an unknown quantity at this point 
Solved Threads: 9
forumdude123's Avatar
forumdude123 forumdude123 is offline Offline
Posting Pro in Training

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

 
0
  #3
Jan 17th, 2008
make sure that you run it in administrator mode.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 44
Reputation: DeViAnT\gAmEr is an unknown quantity at this point 
Solved Threads: 0
DeViAnT\gAmEr's Avatar
DeViAnT\gAmEr DeViAnT\gAmEr is offline Offline
Light Poster

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

 
0
  #4
Jan 18th, 2008
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
Last edited by DeViAnT\gAmEr; Jan 18th, 2008 at 4:26 pm.
Attached Thumbnails
environment variables.jpg  
"All that is needed for evil to triumph, is good men to do nothing"

- Just remember kids: "it's not a bug - it's a feature!"

http://www.danasoft.com/sig/Icanseeyou286359.jpg
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 11
Reputation: Oneder is an unknown quantity at this point 
Solved Threads: 3
Oneder Oneder is offline Offline
Newbie Poster

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

 
0
  #5
Jan 20th, 2008
As forumdude123 suggested, did you try running cmd as admin?

Right click and select "Run as administrator".
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,765
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

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

 
0
  #6
Jan 20th, 2008
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
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,580
Reputation: Infarction has a spectacular aura about Infarction has a spectacular aura about Infarction has a spectacular aura about 
Solved Threads: 52
Infarction's Avatar
Infarction Infarction is offline Offline
Battle Programmer

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

 
1
  #7
Jan 22nd, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 189
Reputation: zelkea is an unknown quantity at this point 
Solved Threads: 11
zelkea's Avatar
zelkea zelkea is offline Offline
Junior Poster

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

 
0
  #8
Jan 23rd, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 44
Reputation: DeViAnT\gAmEr is an unknown quantity at this point 
Solved Threads: 0
DeViAnT\gAmEr's Avatar
DeViAnT\gAmEr DeViAnT\gAmEr is offline Offline
Light Poster

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

 
0
  #9
Jan 24th, 2008
Originally Posted by Infarction View Post
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.
"All that is needed for evil to triumph, is good men to do nothing"

- Just remember kids: "it's not a bug - it's a feature!"

http://www.danasoft.com/sig/Icanseeyou286359.jpg
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Windows Vista and Windows 7 Forum
Thread Tools Search this Thread



Tag cloud for Windows Vista and Windows 7
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC