Can anyone tell me why this batch file isn't working?

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Can anyone tell me why this batch file isn't working?

Postby pappagio » Sun Mar 20, 2011 9:19 pm

Using Win7-64, checked the paths. File names are MP3 files like this

FileName_auth.mp3

I want to rename to FileName.mp3

D:\Program Files\Bulk Rename Utility Command Line\BRC64.exe /DIR:"F:\Music\MP3 Coast to Coast Downloads\Coast to Coast AM Podcast" /REGEXP:"(.+)_auth":"\1" /EXECUTE

I tested the RegEx expression in the GUI Bulk Rename Utility and it works like a champ, but I wanted to automate the process. The DOS window pops up and runs so fast, I can't see any messages.

Paul
pappagio
 
Posts: 3
Joined: Sun Mar 20, 2011 9:12 pm

Re: Can anyone tell me why this batch file isn't working?

Postby pappagio » Sun Mar 20, 2011 9:34 pm

I would be happy to help you Paul. The problem is the location of the file needs to be defined in quotes because the Dos batch routine cannot deal with spaces. Please try again with quotes about the program name, in this fashion:

"D:\Program Files\Bulk Rename Utility Command Line\BRC64.exe" /DIR:"F:\Music\MP3 Coast to Coast Downloads\Coast to Coast AM Podcast" /REGEXP:"(.+)_auth":"\1" /EXECUTE

Hope that helps,

Paul, speaking in the third person as he is want to do.
pappagio
 
Posts: 3
Joined: Sun Mar 20, 2011 9:12 pm

Re: Can anyone tell me why this batch file isn't working?

Postby pappagio » Sun Mar 20, 2011 9:34 pm

Wow, Paul, thanks for the prompt and accurate advice.

Paul
pappagio
 
Posts: 3
Joined: Sun Mar 20, 2011 9:12 pm


Return to BRU Support