View Single Post
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