windows: 完善 10 秒倒计时
This commit is contained in:
parent
5b133fe6ef
commit
785c813ea8
@ -5,9 +5,12 @@ rem 还原 setup.exe
|
|||||||
rename X:\setup.exe.disabled setup.exe
|
rename X:\setup.exe.disabled setup.exe
|
||||||
|
|
||||||
rem 等待 10 秒才自动安装
|
rem 等待 10 秒才自动安装
|
||||||
echo Press Ctrl+C within 10 seconds to cancel the automatic installation.
|
|
||||||
call :sleep 10000
|
|
||||||
cls
|
cls
|
||||||
|
for /l %%i in (10,-1,1) do (
|
||||||
|
echo Press Ctrl+C within %%i seconds to cancel the automatic installation.
|
||||||
|
call :sleep 1000
|
||||||
|
cls
|
||||||
|
)
|
||||||
|
|
||||||
rem win7 find 命令在 65001 代码页下有问题,仅限 win 7
|
rem win7 find 命令在 65001 代码页下有问题,仅限 win 7
|
||||||
rem findstr 就正常,但安装程序又没有 findstr
|
rem findstr 就正常,但安装程序又没有 findstr
|
||||||
|
Loading…
Reference in New Issue
Block a user