Change File Dates
Interesting question on the forums about changing the date of files. Poster was converting a bunch of video files between formats and wanted the file in the new format to have the creation date of the original file.
I had some csv files that i could convert to excel files that mimic the problem
Check the date on the new files.
Get the new files and for each file replace the extension with that of the old file (I am assuming the name stays the same!). Test the old file exists and if so set the new file creation date to the old file creation date.
A final test with get-childitem shows the change.
PowerShell Community Extensions has a Set-FileTime cmdlet that can do this