rename files using DOS batch

August 16, 2011 at 10:03:35
Specs: Windows 7
I have this files name OMG0 3611 400 1011102.pdf and we want to rename by 1011102.pdf using DOS batch.

See More: rename files using DOS batch

Report •

August 16, 2011 at 10:16:49

That should help, it is a list of wondows CMD commands. :)

Report •

August 16, 2011 at 13:48:39
If the batch file is put in the same folder as the file, it's:

Ren "OMG0 3611 400 1011102.pdf" 1011102.pdf

The quotes are important around the first file because it contains spaces and is longer than 8 characters.

You have to specify the full path if the batch file is to be run from elsewhere.

Out of curiosity, why do you want to do this from Command Prompt?

Always pop back and let us know the outcome - thanks

Report •

Related Solutions

Ask Question