more 当前离线
技术组成员
@echo off for /f %%a in ('dir /s/b/a-d "d:\123.txt"') do (set "pth=%%~dpa") echo 123.txt的路径为:%pth% echo.&pause复制代码
TOP