From 785c813ea88b71f96e205288691822e0c3128925 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 7 Sep 2024 20:48:42 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E5=AE=8C=E5=96=84=2010=20=E7=A7=92?= =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows-setup.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/windows-setup.bat b/windows-setup.bat index c3698f0..6498ab0 100644 --- a/windows-setup.bat +++ b/windows-setup.bat @@ -5,9 +5,12 @@ rem 还原 setup.exe rename X:\setup.exe.disabled setup.exe rem 等待 10 秒才自动安装 -echo Press Ctrl+C within 10 seconds to cancel the automatic installation. -call :sleep 10000 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 findstr 就正常,但安装程序又没有 findstr