Not sure what version of CF you're using, but have a look at the cfexecute tag. It can do what you need.
On 2 January 2015 at 15:15, Les Irvin <[email protected]> wrote: > > I've searched and found a dozen ways to run a command line application via > ColdFusion, none of which seem to work. Can anyone show me the right way? > > I want to run a program called ffmpeg.exe from the command line. The code I > need to execute is something like this: > > ffmpeg -i input.jpg -vf > > "scale=iw*min(1200/iw\,800/ih):ih*min(1200/iw\,800/ih),pad=1200:800:(1200-iw)/2:(800-ih)/2" > img010.jpg > > How can I do this within CF? > > Thanks in advance for any help! > Les > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

