怎么在回显中换行?
批处理吧
全部回复
仅看楼主
level 1
@echo offcolor 0atitle winxp系统补丁安装程序echo 按任意键开始安装,退出请关闭。pause>nulcls@echo off title winxp系统补丁安装程序 cls setlocal enabledelayedexpansionset m=1for /f "tokens=1 delims=:" %%i in ('dir /b KB*.exe^|findstr /n "."') do set n=%%ifor /r %%i in (KB*.exe) do ( set /a m+=1 set /a p=m*100/n set q= !p!%% set /p=安装%%~nsi补丁,进度:!q:~-4!
nul输出的结果是 安装KB873333补丁,进度: 6% 安装KB887472补丁,进度: 10% 安装KB890046补丁,进度: 13% 安装KB899588补丁,进度: 16%怎么让它显示下一行?请指教。
2007年10月21日 10点10分 1
level 1
怎么没人回复?
2007年11月13日 03点11分 2
1