this is not working at all for me

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

this is not working at all for me

Postby confused_user » Fri Jun 13, 2008 11:10 am

I have a bit of software producing illegal file extensions (_.mpg) so i need to rename the output file extensions on the fly if possible. Basically all i want to do is every 2 minutes look in a directory and change the file extension of every file in the directory to .mpg

I was thinking of running a script as a scheduled task or whatever it's called in windows (cron job)

For some reason though i cant get brc32.exe to do anything other than tell me the system cannot find the file specified.

I run -
Code: Select all
brc32.exe /FIXEDEXT:<.mpg>


the syntax of the command is oncorrect

Code: Select all
brc32.exe /FIXEDEXT:<.mpg> /DIR:path


the system cannot find the file specified

Code: Select all
brc32.exe /execute /FIXEDEXT:<.mpg>


can anyone tell me where i'm going wrong?, i'm not new to cli apps, linux is my usual OS but this tool is not behaving like a normal cli app
confused_user
 
Posts: 2
Joined: Fri Jun 13, 2008 10:57 am

Re: this is not working at all for me

Postby confused_user » Fri Jun 13, 2008 11:15 am

nevermind lol,

Code: Select all
ren *._mpg *.mpg


works
confused_user
 
Posts: 2
Joined: Fri Jun 13, 2008 10:57 am

Re: this is not working at all for me

Postby Admin » Fri Jun 13, 2008 2:00 pm

Yes, ren is the simplest command.

Though your problem was the angle brackets <>. This is a fairly international convention for showing xample code, e.g.

<enter>

etc. You don't actually want to include them.



Jim
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRC Support