Computing.Net > Forums > Windows XP > Renaming Multiple Files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Renaming Multiple Files

Reply to Message Icon

Name: DynaGirl
Date: May 19, 2005 at 08:49:29 Pacific
OS: Windows XP Professional,
CPU/Ram: 1.20 GHz, 1.00 GB RAM
Comment:

I'm trying to rename multiple files using the ren command prompt.

But, the wildcards (* and ?) are not working as indicated in all the instructions I've found online.

For example, when trying to rename 3 files:
smitha.doc, smithb.doc, smithhc.doc

to call them
smythea.doc, smytheb.doc, smythec.doc

I've tried two different commands:

ren smith*.doc smythe*.doc
ren smith?.doc smythe?.doc

The end result is the same. The first doc, smitha.doc is renamed to smythe.doc (but the a at the end of the name is now missing).

The remaining two files cannot be renamed because Windows is attempting to also call them smythe.doc (no "b" or "c" at the end), and duplicate file names are not allowed.

How are the wildcards supposed to work? Am I doing it wrong? Is there another method for renaming multiple files such that a portion part of each file name is changed, while keeping the rest of the file name intact?

Thanks!

Jennifer



Sponsored Link
Ads by Google

Response Number 1
Name: Nigel Spike
Date: May 19, 2005 at 08:58:53 Pacific
Reply:

Wildcards only works for command input, that is why you cannot use it in "REN" command.

Try a third party program like Total Commander (shareware) for renaming of multiple files.

Nigel


0

Response Number 2
Name: d85kennedy
Date: May 19, 2005 at 10:12:54 Pacific
Reply:

try this for freeware, i used it rename 400 odd mp3's

http://www.download.com/File-Renamer-Basic/3000-2248_4-10306539.html?tag=lst-0-1


0

Response Number 3
Name: Zmaster115
Date: May 19, 2005 at 14:02:31 Pacific
Reply:

In the past I've been able to use the ren command to mass-change file extensions, so I would think it would be able to change names themselves.

Guess not :\


0

Response Number 4
Name: Derek
Date: May 19, 2005 at 15:26:01 Pacific
Reply:

Erik

Wildcards work with extensions. So, sure, the command ren *.bmp *.jpg will change all the bmp files in that folder to jpg. Working on the names is a different ball game.

*. means "all the extensions of the particular type that follow it".

*.* means "all the extensions that follow it" (whatever they are).

Derek.W



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Renaming Multiple Files

Renaming file sequentially www.computing.net/answers/windows-xp/renaming-file-sequentially/119593.html

Batch Rename Files www.computing.net/answers/windows-xp/batch-rename-files-/109651.html

Rename Image Files www.computing.net/answers/windows-xp/rename-image-files/153921.html