in reply to How to change file creation date?

this may work

use Win32API::File::Time qw{:win}; #$fw=$FileWanted my ($fwatime, $fwmtime, $fwctime) = GetFileTime (fix_dos($frfn)); SetFileTime (fix2dos($tofn), $fwatime, $fwmtime, $fwctime);
I wanted to match file times after a copy from $frfn to $tofn

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.