Alternative: @syntax
You can specify arguments line by line a text file:
Alternative: xargs
If you're on Linux you can be smart and use xargs. Just specify the arguments line by line in a text file and then just use xargs to make the call:
Code: Select all
cat amc.arguments | tr '\n' '\0' | xargs -0 filebot
Alternative: Groovy
As an alternative to escaping arguments you can use languages like Groovy that support triple quotes for String definitions and allow you to make the call with a String Array of arguments, and make (almost) any form of escaping unnecessary:
Code: Select all
['''filebot''', '''-help'''].execute()
http://groovy.codehaus.org/Executing+Ex ... rom+Groovy