Cannot use command prompt commands.
I am trying to install a router on my computer. I make all the necessary connections then try to setup the router. To do this I need to go to the command processor. I to to START> RUN> cmp. The command processor comes up the I enter the following: C:\>ping 192.168.1.1the following is then displayed:'ping' is not recognized as an internal or external command,operable program or batch file. The same thing happens with nearly every command I try to use. I can change between directories using the chdir and cd.. commands. Retired from Aerospace industry1 person needs an answerI do too
February 10th, 2011 10:36am

http://www.computing.net/answers/networking/19216811-will-not-connect-/27388.htmlHope this helps, Gerry Cornell
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2011 10:45am

I believe this problem has nothing to do with the router. I found that there are other commands that will not work at the command prompt (i.e. CHKDSK). As I said in the orignal question: "'chkdsk' is not recognized as an internal or external command,operable program or batch file."Here is how my system is set up:System:Microsoft Windows XPHome EditionVersion 2002Service Pack 3Registered to:Randall Scheuerman552770 EM-DOl 1903-00101Computer:AMD Athlon(tm) 64 Processor3200+797 MHz, 512 MB of RAMPhysical Address ExtensionIf there is anything else that I can send please let me know. Maybe is is some piece of software that I recencly installed or something. Retired from Aerospace industry
February 13th, 2011 4:12am

RandallWhen you only occasionally use the command prompt getting the syntax right can be a very frustrating experience. I know, I have been there many times. Very tiny, often not obvious, mistakes like missing or adding spaces can trip you up. Not understanding how instructions are written also contributes to how to get it to work. If you could master the copy screen function in the cmd prompt window we might be able to help but that is another not easy to master technique.Try the advice in this link after trying the ping command:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_dos_copy.mspx?mfr=true Hope this helps, Gerry Cornell
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 5:00am

No... the problem has nothing to do with your router.The problem has everything to do with your PATH environment variable. XP can't find the commands you are entering.When you type in a command in the Command Prompt window, XP looks at your PATH environment variable to try to locate the command. If it can't find it after looking through the directories specified in the PATH variable, it will complain like you are seeing.Since things like ping and chkdsk are located in the c:\windows\system32 folder, c:\windows\system32 must be in your PATH environment variable or XP will not look there to find the commands.You can see what your PATH variable is set to now by entering the following command from the Command Prompt:pathYou need to be sure that at least c:\windows\system32 shows up in the path - I would put it in the front af the PATH string since you would usually want XP to look for files there first. Then XP will looks through the rest of the PATH to try to find the command.Your PATH variable may have a lot of stuff in it, but it needs to have at least this stuff in the front since it looks at the front first (this is an example) showing the semicolon separated values:PATH=C:\WINDOWS\system32 ;C:\WINDOWS;C:\WINDOWS\System32\Wbem;To adjust your PATH envionment variable, right clcik My Computer, Properties, Advanced tab, Environment Variables button.In the System Variables section, find the Path or PATH variable and double click it to edit it.Variable are separated by semicolons and if you use the %SystemRoot% syntax, that will work no matter what volume or hard disk your XP is installed it (it will substitute c:\windows).In the variable value field, I would add/stick in the front of any existing or current semicolon separated values:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; <--don't forget the trailing semicolonOr you could put this if your XP was installed on your C drive:PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;Click OK a few times to close the windows, exit any current Command Prompt window you have open and open a new Command Prompt window and look at the PATH again and see if it looks right and if your command work.Reboot the system to be sure the changes "stick" on a reboot.Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
February 13th, 2011 5:49am

No... the problem has nothing to do with your router.The problem has everything to do with your PATH environment variable. XP can't find the commands you are entering.When you type in a command in the Command Prompt window, XP looks at your PATH environment variable to try to locate the command. If it can't find it after looking through the directories specified in the PATH variable, it will complain like you are seeing.Since things like ping and chkdsk are located in the c:\windows\system32 folder, c:\windows\system32 must be in your PATH environment variable or XP will not look there to find the commands.You can see what your PATH variable is set to now by entering the following command from the Command Prompt:pathYou need to be sure that c:\windows\system32 show up in the path - I would put it in the front af the PATH string since you would usually want XP to look for files there first.Your PATH variable may have a lot of stuff in it, but it needs to have at least this stuff in the front since it looks at the front first (this is an example) showing the semicolon separated values:PATH=C:\WINDOWS\system32 ;C:\WINDOWS;C:\WINDOWS\System32\Wbem;To adjust your PATH envionment variable, right clcik My Computer, Properties, Advanced tab, Environment Variables button.In the System Variables section, find the Path or PATH variable and double click it to edit it.Variable are separated by semicolons and if you use the %SystemRoot% syntax, that will work no matter what volume or hard disk your XP is installed it (it will substitute c:\windows).In the variable value field, I would add/stick in the front of any existing or current semicolon separated values:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; <--don't forget the trailing semicolonOr you could put this if your XP was installed on your C drive:PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;Click OK a few times to close the windows, exit any current Command Prompt window you have open and open a new Command Prompt window and look at the PATH again and see if it looks right and if your command work.Reboot the system to be sure the changes "stick" on a reboot.Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 5:49am

I did a copy screen after doing the ping statement:Microsoft Windows XP [Version 5.1.260(C) Copyright 1985-2001 Microsoft Corp.C:\Documents and Settings\Randall Scheuerman>ping 192.168.1.1'ping' is not recognized as an internal or external command,operable program or batch file.C:\Documents and Settings\Randall Scheuerman>Here is the result. It appears that these commands no longer exist in the system. Is there a file somewhere that contains these commands?RandyRetired from Aerospace industry
February 13th, 2011 7:00am

Your copying here has not worked. Open the text file with Notepad and select Edit, Select All, Copy and paste into your next message here.Your problem using the command prompt is not knowing all the commands. It's knowing where, when and how to use them.http://www.computerhope.com/overview.htmIn your original post you said this "To do this I need to go to the command processor". I magine you were working through a list of instructions. Perhaps if we saw a copy of the list we could help get your router installed.Hope this helps, Gerry Cornell
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 7:25am

Fix your PATH as indicated earlier.Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
February 13th, 2011 8:11am

JoseIf I want to go from the C:> to my J partition are you saying I need to add something to the path variable?CHDIR [drive:][path]CHDIR J: What path?If you have volumes on different drives does it matter?Hope this helps, Gerry Cornell
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 8:14am

The problem here with ping not working is c:\windows\system32 is not in the PATH.When you type a command, XP looks in the current folder first, then looks through the PATH to try to execute the command.If you were to change to the c:\windows\system32 folder, ping would work (since that is where the ping.exe file is).If you want to make things a little easier so you don't have to actually change to the folder where the executable files are every time you want to run the commands, add c:\windows\system32 to your PATH environment variable and it will find the ping command from any prompt including the C:\> prompt.If you get to a Command Prompt and enter:pathYou would hope to see a line that looks something like this:PATH=C:\WINDOWS\system32 ;C:\WINDOWS;(some other things perhaps...)What does you see or the value of your PATH?If you do not see c:\windows\system32 in the PATH, then you need to add it to the Path system variable (and I would make it the first thing). If you are at the Command Prompt on your C drive and want to change to your J drive, then and the prompt you would just enter:j:It will keep your PATH intact when you switch to another volume.Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
February 13th, 2011 8:35am

I changed my Path to:PATH=C:\WINDOWS;C:\WINDOWS\system32;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\system32\Wbem;C:\Program Files\QuickTime Alternative\QTSystem\Now everything works.Thanks for the helpRetired from Aerospace industry
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 11:23am

Well, there you go.Good job!Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
February 13th, 2011 11:36am

If you are at the Command Prompt on your C drive and want to change to your J drive, then and the prompt you would just enter:j:It will keep your PATH intact when you switch to another volume.JoseNow why didn't that work for me earlier!Thanks. Hope this helps, Gerry Cornell
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2011 1:30pm

Sometimes, you need to intimidate them into submission :)Do, or do not. There is no try.I decided to save up points for a new puppy instead of a pony!
February 13th, 2011 3:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics