约 50 个结果
在新选项卡中打开链接
  1. How to sleep for five seconds in a batch file/cmd [duplicate]

    1028 One hack is to (mis)use the ping command: ping 127.0.0.1 -n 6 > nul Explanation: ping is a system utility that sends ping requests. ping is available on all versions of Windows. 127.0.0.1 is the IP …

  2. cmd - Ping with timestamp on Windows CLI - Stack Overflow

    @echo off ping -t localhost|find /v ""|cmd /q /v:on /c "for /l %%a in (0) do (set "data="&set /p "data="&if defined data echo(!time! !data!)" note: code to be used inside a batch file. To use from command line …

  3. ping - Pinging servers in Python - Stack Overflow

    The command is ping in both Windows and Unix-like systems. The option -n (Windows) or -c (Unix) controls the number of packets which in this example was set to 1.

  4. How to ping a server only once from within a batch file?

    I want to learn how to write batch scripts and tried to create a script which automatically runs this command in the command line once: ping www.google.de -t and displays the ping, so it would loo...

  5. 'ping' is not recognized as an internal or external command operable ...

    When I type these: ping yahoo.com or ping -n or ipconfig The answer is just this 'ping' is not recognized as an internal or external command operable program or batch file or 'ipconfig...

  6. Ping all addresses in network, windows - Stack Overflow

    Open the Command Prompt and type in the following: FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\ipaddresses.txt Change 192.168.10 to match you own network. …

  7. Checking host availability by using ping in bash scripts

    2016年10月1日 · The if command checks the exit code of the following command (the ping). If the exit code is zero (which means that the command exited successfully) the then block will be executed.

  8. Can the maximum ping size of 65500 bytes can be increased?

    2009年10月24日 · The maximum size of an IPv4 packet is 65535 bytes of which some is protocol overhead so that data must be a couple bytes less than 65535 and a ping can't be more than one IP …

  9. command line - How to check if ping responded or not in a batch file ...

    2010年6月16日 · 57 I want to continuously ping a server and see a message box when ever it responds i.e. server is currently down. I want to do it through batch file. I can show a message box as said …

  10. cmd.exe - How can I do a ping every 500 ms? - Super User

    2020年9月17日 · By default the time delay between two pings is equal to 1 second. My need is to reduce the delay between two pings to 500 ms (0.5 seconds). Is there any way to do this?