in reply to How to change file modification date in Windows

Why not just use the stat command?
my $filename = "Test.txt"; print "$filename was last modified on: ", scalar localtime((stat($file +name))[9]), "\n";

-- Dan