Mass name change...

  • Thread starter Thread starter John Barnes
  • Start date Start date
Windows Explorer can do it.
highlight the files you want to change, hit F2
delete the "new ", and hit Enter

However, usually when I try this with real files, it seems to screw up...
With test files, it usually works correctly ;-)
 
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.

Thanks.

silas
 
silas said:
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/windowsserver2003/technologies/management/powershell/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
 
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/windowsserver2003/technologies/management/powershell/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) }

Whoa!! Wait a second...

Command-line instructions for Windows?

Isn't everything command-line considered highly forbidden? =)

--
Stephan
2003 Yamaha R6

å›ã®ã“ã¨æ€ã„å‡ºã™æ—¥ãªã‚“ã¦ãªã„ã®ã¯
å›ã®ã“ã¨å¿˜ã‚ŒãŸã¨ããŒãªã„ã‹ã‚‰
 
Stephan Rose said:
Whoa!! Wait a second...

Command-line instructions for Windows?

Isn't everything command-line considered highly forbidden? =)

--
Stephan
2003 Yamaha R6

å›ã®ã“ã¨æ€ã„å‡ºã™æ—¥ãªã‚“ã¦ãªã„ã®ã¯
å›ã®ã“ã¨å¿˜ã‚ŒãŸã¨ããŒãªã„ã‹ã‚‰

PowerShells are new to me but it sounds interesting. I'm reading a lot of
info on it at the PowerShell blog.

Thanks, I might give this a try.

silas
 
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.

Thanks.

silas


There are also a number of 3rd party batch file renamers. A very
versatile one is "Quick File Renamer" at http://minimice.cjb.net/

Sterno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top