![]() |
![]() |
#1 |
Member
Join Date: Feb 2005
Posts: 16
|
![]()
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 |
![]() |
![]() |
![]() |
#2 |
Admin
Join Date: Jul 2004
Posts: 370
![]() |
![]()
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. |
![]() |
![]() |
![]() |
#3 |
Musepack developer
|
![]()
don't people use sweep (on windows) for this sorta thing?
and isn't ren absent from XP? later |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Sep 2004
Location: Bergen, Norway
Posts: 17
|
![]()
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 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 [EDIT] Actually I figured it out. You'll have to make the renmpc.bat like this: Code:
cd %1 sweep.exe ren *.mp+ *.mpc Code:
REGEDIT4 [HKEY_CLASSES_ROOTDirectoryshellrenmpc] @="&Rename mp+ to mpc" [HKEY_CLASSES_ROOTDirectoryshellrenmpccommand] @=""C:WINDOWSsystem32renmpc.bat" "%1"" [/EDIT] |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Feb 2005
Posts: 16
|
![]()
Thanks, all, for your help. Much appreciated.
Mike |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|