Differences
This shows you the differences between the selected revisions of the page.
2017-10-04 | 2017-10-04 | ||
using variable expansion in strings in powershell (martin) | code wrapping for new design (martin) | ||
Line 45: | Line 45: | ||
foreach ($fileInfo in $directory.Files) | foreach ($fileInfo in $directory.Files) | ||
{ | { | ||
- | ("`"{0}`"`t{1}`t`"{2}`"" -f $fileInfo.Name, $fileInfo.Length, $fileInfo.LastWriteTime) | Out-File -Append $outFile -Encoding Unicode | + | ("`"{0}`"`t{1}`t`"{2}`"" -f |
+ | ···············$fileInfo.Name, $fileInfo.Length, $fileInfo.LastWriteTime) | | ||
+ | ···············Out-File -Append $outFile -Encoding Unicode | ||
} | } | ||