PDA

View Full Version : DOS command line


rich
December 11th 03, 10:45 PM
I am a networking student and I recently tried the ping
and tracert commands, for an assignment, on my home
computer. I was not able to complete these tasks because
DOS did not recognize the commands. I am signed in as
the administrator.

Skip Knoble
December 11th 03, 10:46 PM
Rich: It's difficult to see what is happening here. So here is a procedure
that may help you solve this problem.

1) From the Command prompt issue:
cd \
attrib tracert.exe /s
attrib ping.exe /s
If it shows: d:\Windows\system32\tracert.exe and same path for ping.exe
(where d:\ is your windows drive) then you do have Tracert installed;
In this case Go To Step 3.
2) Otherwise, you should try repairing TCP/IP. Click Start/Connect to/Show
all Connections.
Rright-click the Icon for your LAN connection and choose Repair.
Then Go to Step 1.

3) Retry PING from the command prompt. E.g., Ping yourself: ping 127.0.0.1
If this works, you are done. Else go to Step 4.

4) It may be is that your PATH was set up to exclude c:\windows\system32.
You can correct that by double-clicking the System Icon in Control Panel
(Start/Contrl Panel System Icon.) Click the Advanced tab; Click the
Environment Variables button. Look at the window (bottom one) labeled
"System Variables". Click on Path and then Edit. Make sure that your Path
starts out with: d:\Windows\system32. If not, press the Home key and
add the string: d:\Windows\system32;
(ending in semicolon) to the beginning of that PATH variable.
Click OK your way out of this. Then tracert should be available at
the command prompt, so go to Step 3.

Skip Knoble, Penn State

"rich" > wrote in message
...
> I am a networking student and I recently tried the ping
> and tracert commands, for an assignment, on my home
> computer. I was not able to complete these tasks because
> DOS did not recognize the commands. I am signed in as
> the administrator.

Google