如何让这个命令在后台运行
– ping www.google.com –t
我在桌面上创建了一个快捷方式,并输入了此命令,因为它是“目标”。现在,当我双击它时,cmd 窗口会打开一秒钟然后消失。如何让它在后台运行,直到手动结束此过程?快捷方式名称为“Ping”,我在任务管理器中没有看到名为“Ping”的进程。我想要的是继续 ping 谷歌服务器
– ping www.google.com –t
I have created a shortcut on desktop and typed this command as it's "Target " ..Now when I double click it, cmd window opens for a sec and vanishes..how do I make it run in the background until this process is manually ended ? The shortcut name's "Ping" and I don't see no Process named "Ping" in the task manager. What I want is to keep on pinging google server
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
解决方案1:
从命令提示符执行手动 ping,并在末尾写入 -t,使其成为持久 ping。您必须关闭 cmd 提示窗口才能停止 ping。
例如,在命令提示符下键入:
ping www.google.com -t
解决方案 2:
您可以创建一个快捷方式,如下所示
解决方案 3:
任何免费的 ping 实用程序都可以满足您的要求,请在 google 上查看“免费 ping”,这也将
工作。
PK
Solution 1:
Do a manual ping from the command prompt and write a -t at the end which makes it a persistent ping. You would have to close the cmd prompt window to stop the ping.
for example type in command prompt:
ping www.google.com -t
Solution 2:
you can create a shortcut like so
Solution 3:
Any free ping utility would do what you require, check on google for "free ping" which will also
work.
PK
将目标设置为:
%windir%\system32\ping.exe www.google.com -t
并开始于:
%windir%
编辑]
隐藏 cmd 窗口
[ 主要
取消隐藏
set Target as:
%windir%\system32\ping.exe www.google.com -t
and Start in:
%windir%
[EDIT]
TO Hide a cmd window
In main
To Unhide