Well I could but I don't really want to. Is it possible to pass arguments to a batch file then use them in the batch file? If so then I could use a batch file - if not I would have to write a different batch file for each site which is what I am trying to get away from.
Also would CF wait for the batch file and all commands within the batch file to execute before going onto the next line - i.e. if I had one batch file that called analog I would need to wait for that to finish before I ran report magic. Thanks for your help. Giles Roadnight http://giles.roadnight.name -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 11:34 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] SOT: analog / cfexecute could you setup a .bat file with all the commands, and call that via cfexecute? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Giles Roadnight" To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: ght.name> Subject: [ cf-dev ] SOT: analog / cfexecute 24/11/2003 11:20 Please respond to dev I am trying to set up a CF page that runs analog and report magic each month. I use this code: <cfexecute name="c:\progra~1\analog\analog.exe" arguments="c:\progra~1\analog\analog #listGetAt("#currentSiteSettings#",1)# +g#listGetAt("#currentSiteSettings#",2)# +O#listGetAt("#currentSiteSettings#",3)#analogOutput.dat -A +Q +m +d +h +w +r +s +N +n +B +b +p" timeout="1000"></cfexecute> and nothing happens. The server just stops there. I have tried it with none of the arguments and the same thing happens. If I try it with report magic I get an error message from report magic saying it can't find the ini file (to be expected) but I can't get any output from analog. If I look at the processes running analog is there. Is there a better way of doing this than cfexecute? Is there a reason why this doesn't work? Thanks Giles Roadnight http://giles.roadnight.name -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
