silas wrote:
> Hi. Is there a way to change the names of a group of similarly named
> files at one time instead of one at a time. For instance, I have 75
> files named "new data report.04.02.07", "new data report.04.09.07", "new
> data report.04.16.07","new data report.04.23.07" and so on. I'd like to
> remove the word "new" from each file name. I remember reading about a
> third-party program that can do that but I was wondering if I could do
> it right in Vista Home Premium.
Shells are always good for this stuff. Unfortunately, the built-in
windows shell is useless. They were going to include Powershell, but in
the end it got pulled from Vista because it wasn't ready in time. :-(
Fortunately, you can now download powershell from:
http://www.microsoft.com/windowsserv...l/default.mspx
Then you can strip off the "new " from the start of each filename by
navigating to the directory that the files are in and using the command:
get-item "new *" | foreach { rename-item $_.Name $_.Name.SubString(4) }
Alun Harford