Help with --command syntax

dinkypumpkin dinkypumpkin at gmail.com
Wed Oct 22 16:29:15 PDT 2014


On 22/10/2014 20:50, Vangelis forthnet wrote:
> Dear dinky, any thoughts?

Try this:

--command "cmd /c cd /d F:\Downloads\FLVtoMP4remux ^&^& remux.bat"

If your path has white space:

--command "cmd /c cd /d """F:\Downloads\FLV to MP4remux""" ^&^& remux.bat"

Comments on your earlier experiments:

- Just running a batch file does not change your working directory. 
That's why your script didn't find the supporting EXEs

- You needed the exit statement because you were using cmd /k.  The /k 
keeps the new shell open, so you have to get out of it somehow.  cmd /c 
terminates after the commands are finished.

- You need to escape each ampersand





More information about the get_iplayer mailing list