日期:2014-05-17  浏览次数:20740 次

大家看看我的电脑是不是见鬼了?
PING.EXE明明是在system32目录下的,并且已经在PATH路径中了,谁为什么我进“命令提示符窗口”后,在其它目录里不能执行PING   命令了了?真是怪?但是,在开始--> 运行:ping,能正确执行的!为什么这样啊?

D:\> path
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;E:\Sybase\SQ
  Anywhere   8\win32;E:\Sybase\Shared\win32;E:\Sybase\Shared\Sybase   Central   4.1;E:
Sybase\Shared\PowerBuilder;E:\Sybase\Shared\Web   Targets;E:\Sybase\Shared\DataDi
ect;C:\Program   Files\Common   Files\Ulead   Systems\MPEG;E:\Universal   Extractor\bin
E:\Win2000   Support   Tools\;C:\Program   Files\Altiris\Software   Virtualization   Agen
\;E:\Nmap;D:\sys-tools\

D:\> ping
'ping '   不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\> c:

C:\WINNT\system32> ping

Usage:   ping   [-t]   [-a]   [-n   count]   [-l   size]   [-f]   [-i   TTL]   [-v   TOS]
                        [-r   count]   [-s   count]   [[-j   host-list]   |   [-k   host-list]]
                        [-w   timeout]   destination-list

Options:
        -t                           Ping   the   specified   host   until   stopped.
                                      To   see   statistics   and   continue   -   type   Control-Break;
                                      To   stop   -   type   Control-C.
        -a                           Resolve   addresses   to   hostnames.
        -n   count               Number   of   echo   requests   to   send.
        -l   size                 Send   buffer   size.
        -f                           Set   Don 't   Fragment   flag   in   packet.
        -i   TTL                   Time   To   Live.
        -v   TOS                   Type   Of   Service.
        -r   count               Record   route   for   count   hops.
        -s   count               Timestamp   for   count   hops.
        -j   host-list       Loose   source   route   along   host-list.
        -k   host-list       Strict   source   route   along   host-list.
        -w   timeout           Timeout   in   milliseconds   to   wait   for   each   repl