遍历子目录- #&@cls&echo off&powershell -c "type %~0|out-string|iex"&pause&exit
- $f="\\192.168.0.219\qc\3-三座标检测报告\2022"
- '"{0}","{1}","{2}"' -f "文件","创建时间","修改时间"
- Dir -literal $f -filter *.pdf? -recurse|%{'"{0}","{1}","{2}"' -f $_.fullname,$_.creationtime,$_.lastwritetime}>文件清单.csv
复制代码
|