That's perfect Steve, thank you - exactly what I was looking for.

In case anyone else wants to use this (and so I can remember what I did
when I need to use it again!), I did find I had to Google the command to
pick up a small typo (Get-ChildItem, rather than Get-Child-Item). Here's
the revised version:

$files = Get-ChildItem c:\music -recurse
foreach ($f in $files) { $f.LastWriteTime = $f.CreationTime }


-- 
hunta
------------------------------------------------------------------------
hunta's Profile: http://forums.slimdevices.com/member.php?userid=333
View this thread: http://forums.slimdevices.com/showthread.php?t=87887

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to