Archived from groups: microsoft.public.windowsxp.general (
More info?)
Peter CCH wrote:
> What's the difference between "@find" and "ping"?
> I try both of it, it's working fine, I didn't see any difference.
>
>
> Peter CCH
>
Hi,
You will see the difference only in a batch file, @ means "echo off"
for this command line.
Using @ping.exe in a batch file will give you this output:
--------------------8<----------------------
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] target_name
--------------------8<----------------------
Using ping.exe in a batch file will give you this output:
--------------------8<----------------------
D:\>ping.exe
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] target_name
--------------------8<----------------------
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx