- #@&cls&powershell "type '%~0'|out-string|iex">aaa.csv&pause&exit
- $a=New-Object -ComObject Shell.Application
- $p="177","0","1","2","3","4","5","27","20","13","281","194","198","195"
- dir -r|?{$_.attributes -notlike "*directory*"}|%{
- $b=$a.namespace($_.directoryname)
- foreach($i in $p){$c+=$b.getdetailsof($b.parsename($_.name),$i)+","}
- $c;$c=$null
- }
复制代码
|