CODE: [Copy to clipboard]@echo off echo 輸入路径 set /p p=">>" for /r "%p%" %%i in (*.txt) do start cmd.exe