CODE: [Copy to clipboard]@echo off set /p str=%cd%^> call :%str% || %str% goto exit :dir :查看 dir %* goto :eof :exit pause