715892089 当前离线
二级士官
评分人数
pusofalse 当前离线
荣誉版主
@echo off for /f "delims=" %%a in ('dir/b/on *.exe') do ( set/a n+=1 call set "..%%n%%=%%a" call echo %%n%%: %%a ) set/p var=输入编号: if defined ..%var% call,start "" %%..%var%%% pause>nul复制代码
TOP
随风 当前离线
@echo off&setlocal enabledelayedexpansion set n=0&set/p var=输入编号: for %%a in (*.exe) do set/a n+=1&if !n! equ %var% start "" "%%a" pause>nul复制代码