cmd 后台执行

@echo off 
if "%1" == "h" goto begin 
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit 
:begin

ping 10.101.35.129 -n 100 > temp.txt

posted @ 2021-06-16 13:46  该显示昵称已被使用了  阅读(80)  评论(0)    收藏  举报