PDA

View Full Version : cmd problem


CaffeinatedSoap
06-15-04, 01:27 PM
i am having a problem.<BR><BR>usualy when you type ping it will ping, right?<BR>ex.<BR><BR>c:> ping www.pcstats.com<BR><BR>for some reason when i type the above it says ping is not reconginzed bat blah blah blah<BR><BR>but when im in system32 it will work fine.<BR>ex.<BR><BR>c:windowssystem32> ping www.pcstats.com<BR><BR>What can I do to fix this?

Ginsu543
06-15-04, 01:27 PM
Basically, it appears that the PING command is in your system32 folder and when you call the command from the C:> prompt, it's not recognizing it. I see two options. Just move the <b>Ping.exe</b> file to your <b>C:Windows</b> folder or you can add your C:WindowsSystem32 to your system environment by using the <b>PATH</b> command in your <b>Autoexec.bat</b> file. Add a line that says <b>PATH=C:WindowsSystem32</b> in your <b>Autoexec.bat</b> and reboot. That should get your command prompt to recognize the command in the new directory.

CaffeinatedSoap
06-15-04, 01:27 PM
where is autoexec.bat?

Iceman
06-15-04, 01:27 PM
what windows are you using??

CaffeinatedSoap
06-15-04, 01:27 PM
xp