要求很简单,写一个批处理延时10s后把自己的一个小程序run起来,然后关闭命令行窗口。
对了,程序路径有空格。
小例子如下,纯作纪念:
@echo off
REM sleep 10s
ping -n 10 127.0>nul
REM start your program, if the path has space
start "" "D:\Program Files (x86)\test\wlantest.exe"
REM exit this cmd
exit
要求很简单,写一个批处理延时10s后把自己的一个小程序run起来,然后关闭命令行窗口。
对了,程序路径有空格。
小例子如下,纯作纪念:
@echo off
REM sleep 10s
ping -n 10 127.0>nul
REM start your program, if the path has space
start "" "D:\Program Files (x86)\test\wlantest.exe"
REM exit this cmd
exit