Rename batch file.......New Task

E

Elephant

I download MPG movies that are posted in parts.
Example:

filename.001.mpg
filename.002.mpg
filename.003.mpg

Can the batch files posted earlier change the names to:
a.001.mpg
a.002.mpg
a.003.mpg

I have a batch file that will combine them after a rename to "a"
into one sequencial mpg movie, it's just that it's a hassle to
rename a movie that has 150 parts with all "a's".

BTW, I'm running WinME.

Thanks for your input.
 
S

Steven Burn

Thanks for your input.

If you don't find anything, I could write a small app in a few seconds that
would do this.........

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
 
S

Steven Burn

Just threw a little one together for you..... ;o)

http://www.it-mate.co.uk/downloads/quickren.zip

It doesn't have a website yet, I'll work on that in a few mins. Uses .ini
file to save the settings you set, and logs everything it does (incase
something should go wrong) and to prevent errors, will not rename a file
whose filename is over 20 characters.

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
 
R

rir3760

I download MPG movies that are posted in parts.
Example:

filename.001.mpg
filename.002.mpg
filename.003.mpg

Can the batch files posted earlier change the names to:
a.001.mpg
a.002.mpg
a.003.mpg [Snip]
BTW, I'm running WinME.

Three posible solutions:

Lupas Rename is a file renamer with a preview window and it's fairly
intuitive to use. It can be found here:
<http://www.azheavymetal.com/~lupasrename/lupasrename.php>

Or try with 2xExplorer, a file manager:
<http://netez.com/2xExplorer/>

With 2xExplorer you need to select the files and then:

1.- Press Contorl+B to call the batch template.
2.- Type the following command:
Rename "$N" "a.$001.jpg"
3.- Press enter and verify the names are correct, if they are
click on 'execute'.

Or if you need to rename the files from a batch file/script you could
try with ports of unix utilities, two good packages are UnxTools and
Cygwin:

<http://www.cygwin.com/>
<http://unxutils.sourceforge.net/>

HTH
 

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

Top