PDA

View Full Version : FILES - Need to Rename Several Files At Once


Greg Purvis
January 17th 04, 11:21 PM
Hi.

XP has a method for renaming a series of files so that they have all the
same name and are then numbered, but I need to do something else, and I'm
not sure how.

I'm converting documents from an old word processor to MSWord and maybe Word
itself can do this, but I was first looking for some kind of system batch
file.

I want to change, for an example,

Monday.JAN
Tuesday.JAN
Wednesday.JAN

to

Monday JAN.DOC
Tuesday JAN.DOC
Wednesday JAN.DOC

That sort of thing. There are hundreds of files and I'm hoping someone
knows of a way to bulk-rename the files that way, rather than having a
folder full of Monday JAN (1).DOC, Monday JAN (2).DOC, and so on.

Thanks in advance for any help.

GP

Peter Hutchison
January 18th 04, 03:41 PM
On Sat, 17 Jan 2004 12:47:41 -0500, "Greg Purvis"
> wrote:

>Hi.
>
>XP has a method for renaming a series of files so that they have all the
>same name and are then numbered, but I need to do something else, and I'm
>not sure how.
>
>I'm converting documents from an old word processor to MSWord and maybe Word
>itself can do this, but I was first looking for some kind of system batch
>file.
>
>I want to change, for an example,
>
>Monday.JAN
>Tuesday.JAN
>Wednesday.JAN
>
>to
>
>Monday JAN.DOC
>Tuesday JAN.DOC
>Wednesday JAN.DOC
>
>That sort of thing. There are hundreds of files and I'm hoping someone
>knows of a way to bulk-rename the files that way, rather than having a
>folder full of Monday JAN (1).DOC, Monday JAN (2).DOC, and so on.
>
>Thanks in advance for any help.
>
>GP
>
Open a command window.
CD <directory where files are>
Dir *.jan
Ren *.jan *jan.doc
Dir

Monday.jan.doc
Tuesday.jan.doc
Wednesday.jan.doc

There are third party tools out there that may help.
See http://www.tucows.com or http://www.zdnet.com/

Peter Hutchison
Windows FAQ
http://www.pcguru.plus.com/

Google