
CODE: [Copy to clipboard]这个是文件@echo off
for /f "delims=*" %%a in ('dir /s/b/ad *^|find /i "failed_tests"') do set mypath=%%a
echo %mypath%
pause
CODE: [Copy to clipboard]运行环境Cmd@echo off
for /f "delims=*" %%a in ('dir /s/b/a-d *^|find /i "failed_tests"') do set myfile=%%a
echo %myfile%
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |