@echo off & setlocal EnableDelayedExpansion
for /f "delims=" %%i in ('"dir /a/s/b/on ."') do (
set file=%%~fi
set file=!file:/=/!
DEL 路径.txt
echo !file! >> AllfileDir.txt
)
@echo off & setlocal EnableDelayedExpansion
for /f "delims=" %%i in ('"dir /a/s/b/on ."') do (
set file=%%~fi
set file=!file:/=/!
DEL 路径.txt
echo !file! >> AllfileDir.txt
)
本文标题:获取文件夹下所有文件的路径
本文链接:https://www.haomeiwen.com/subject/ccasgftx.html
网友评论