On Sun, May 29, 2011 at 12:07 PM, hunta <hunta.4uib7b1306685...@no-mx.forums.slimdevices.com> wrote: > > 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 } >
Whoops! I was typing it on my phone and must have added an extra dash. Glad it worked for you! -Steve _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss