aries215 当前离线
三级士官
@echo off :start cls setlocal enabledelayedexpansion echo. set /p "File=请拖入WAV文件:" for /f "delims=" %%i in ("%File%") do set "name=%%~ni" if exist %name%.wav goto play goto start :play title %name% player.exe %File% endlocal goto start复制代码
评分人数
CrLf 当前离线
论坛巡查
TOP
cjiabing (甲兵时代)当前离线
荣誉版主
@echo off :start cls echo. setlocal ENABLEDELAYEDEXPANSION set /p File=请拖入WAV文件: if defined File ( for /f "tokens=*" %%a in ("!File!") do ( for %%i in (%%a) do if "%%~xi"==".wav" "%~dp0yoyotu.exe" "ASIO4ALL v2" "%%~i" ) ) endlocal goto start复制代码
@echo off setlocal enabledelayedexpansion set tsr=%* if defined tsr ( for /f "tokens=*" %%a in ("!tsr!") do ( for %%i in (%%a) do if exist %%i title "%%~i"&player.exe "%%~i" ) ) pause复制代码