Last active
August 29, 2015 14:16
-
-
Save whacked/c93a3eee730e8b897eb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date >> OUT.txt | |
$files = Get-ChildItem "C:\Users\Public\Memrise\*.txt" | |
for ($i=0; $i -lt $files.Count; $i++) { | |
Add-Content -Value "==================" -Path OUT.txt | |
Add-Content -Value $files[$i].FullName -Path OUT.txt | |
Add-Content -Value "CREATION" -Path OUT.txt | |
Add-Content -Value $files[$i].CreationTime -Path OUT.txt | |
Add-Content -Value "LASTACCESS" -Path OUT.txt | |
Add-Content -Value $files[$i].LastAccessTime -Path OUT.txt | |
Add-Content -Value "LASTWRITE" -Path OUT.txt | |
Add-Content -Value $files[$i].LastWriteTime -Path OUT.txt | |
Add-Content -Value "------------------" -Path OUT.txt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment