Musepack Forums  

Go Back   Musepack Forums > Main > MPC for Windows

Reply
 
Thread Tools Search this Thread Display Modes
Old 27 February 2005, 09:50 pm   #1
drmrbrewer
Member
 
Join Date: Feb 2005
Posts: 16
Default Batch renaming .mp+ to .mpc

This is perhaps slightly off topic, but it's still related to musepack.

Does anyone know how I can batch rename all my old .mp+ files to .mpc files?

The reason behind this is that I want to use mp3tag to correct a few errors in some tags in the old mp+ files, and I can't get mp3tag to read the mp+ files, only mpc files (despite having added *.mp+ to the extension list in the mp3tag options). I asked about this on the mp3tag forum a few days back, but had no reply. So I'm trying you guys!

Thanks,

Mike
drmrbrewer is offline   Reply With Quote
Old 28 February 2005, 04:41 am   #2
Shy
Admin
 
Shy's Avatar
 
Join Date: Jul 2004
Posts: 372
Default

Ganymed (Mp3tag developer) is currently away from his computer, he'll come back to it in about 2 days .

You can rename a batch of your files using "ren *.mp+ *.mpc" in a command line window inside the folder with the mp+ files. (or "ren *.mp+ E:somefolder*.mp+ *.mpc")
Or you could use some program that specializes in batch renaming, like renamefiles.
Shy is offline   Reply With Quote
Old 28 February 2005, 06:50 pm   #3
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

don't people use sweep (on windows) for this sorta thing?

and isn't ren absent from XP?


later
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx is offline   Reply With Quote
Old 01 March 2005, 09:01 pm   #4
Mr_Rabid_Teddybear
Member
 
Join Date: Sep 2004
Location: Bergen, Norway
Posts: 17
Default

ren works on xp.
So for windows (not as elegant as in linux, i know) I think the following is a good solution:
Make a batchfile, e.g. renmpc.bat, with the following content:
Code:
ren *.mp+ *.mpc
Download Sweep
http://www.saunalahti.fi/cse/files/?C=M;O=A
Put Sweep.exe and renmpc.bat in %PATH% (e.g. System32), open a CMD window on the topmost directory of your Musepack files and type:
Code:
sweep renmpc.bat
and you will get recursive renaming. You can furthermore put this in folder contextmenu, but I haven't got the template for that reg file here. I can add this later if wanted.

[EDIT]
Actually I figured it out. You'll have to make the renmpc.bat like this:
Code:
cd %1

sweep.exe ren *.mp+ *.mpc
and then make and import (doubleclick, answer yes) a reg file like this (you can name it renmpc.reg):
Code:
REGEDIT4



[HKEY_CLASSES_ROOTDirectoryshellrenmpc]

@="&Rename mp+ to mpc"



[HKEY_CLASSES_ROOTDirectoryshellrenmpccommand]

@=""C:WINDOWSsystem32renmpc.bat" "%1""
You'll need sweep.exe and renmpc.bat in System32 for this.
[/EDIT]
Mr_Rabid_Teddybear is offline   Reply With Quote
Old 02 March 2005, 09:52 am   #5
drmrbrewer
Member
 
Join Date: Feb 2005
Posts: 16
Default

Thanks, all, for your help. Much appreciated.

Mike
drmrbrewer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:46 pm.


Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2019, vBulletin Solutions Inc.