Staredit Network

Staredit Network -> Miscellaneous -> Anybody Good W/ Programming?
Report, edit, etc...Posted by dashrike on 2004-05-20 at 13:34:44
Its really simple really. I'm looking for a way to batch rename my music files, and haven't had much luck so far. I can't seem to figure out the cmd ren command [syntax is always wrong...], etc.

What I'm looking for is:
  • Change all the instances of "(" to "[".
  • Change all the instances of ")" to "]".
  • Change all the instances of "Remix" or "remix" to "Mix".
  • Capitalize all the first letters [of each word].
  • Alert me if I have multiple files with the same name.
Anybody up to showing me how to do this?

[or writing a prog to do it for me?]
Report, edit, etc...Posted by Yoshi da Sniper on 2004-05-20 at 16:09:39
I've done PHP, C and Visual Basic, but im not sure how to rename multipule files, sorry.
Report, edit, etc...Posted by dashrike on 2004-05-20 at 16:55:50
One of my friends [wrote www.pingring.com] says he could do it in vbasic, but he doesn't really feel like it. It'd essentially be a loop. He said it'd be around 10-ish lines...
Report, edit, etc...Posted by .Coko[CK] on 2004-05-20 at 17:04:27
If you want something like that, try either, http://www.samods.org and there forum on programming for a quick response, or http://www.smempire.org/ for a long waited response, but may be better. I would try SA first though!
Report, edit, etc...Posted by Clokr_ on 2004-05-21 at 14:07:39
I'm not going to program until 11th June, sorry wink.gif
Yes, in VB it would be like 10 lines, but without checking if both files have the same name.
Report, edit, etc...Posted by .Coko[CK] on 2004-05-21 at 15:31:00
Well, i've just started learning C++ and its difficult to get around, requires some knowledge already...This looks like something possible in VB though! Couldn't you just have it search for files, and set for name a random generator of letters and numbers (warning very slow...) and then have it check computer for files or folders of name, and then once it has one, check for copy.

Or a MUCH MUCH better idea would be the user to include the name in question, and then it would be as easy as hell to do!
Next Page (1)