I didn't bother mentioning that because it never ever worked, you always had to output to a file as part of the command and load in the file. Perhaps you batch file works because it is doing nothing else other than outputting some text. Or did macromedia mysteriously fix that in one of the updates and I never noticed??? Anyone.
> -----Original Message----- > From: Giles Roadnight [mailto:[EMAIL PROTECTED] > Sent: 23 January 2004 22:21 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] cfexecute > > > ON this page: > > http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/T > ags17.htm > > outputFile > Optional. The file to which to direct the output of the > program. If not specified, the output is displayed on the > page from which it was called. > > But I have just noticed in the timeout section that I need to > set a timeout other than 0 to get the output. And.... Eureka > I get an output. > > Thanks for the reply. > > Giles Roadnight > http://giles.roadnight.name > > > -----Original Message----- > From: Snake Hollywood [mailto:[EMAIL PROTECTED] > Sent: 23 January 2004 21:19 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] cfexecute > > No giles, you wont get the output back to the website. > Cfexecute simply executes files, it doesn't get back any > values from that file and convert them to the webserver > output stream and send them to your browser. Your text "I am > test.bat" it output to the dos window on the server only. > > If you want to get content back form the file, you need to > output it to a file and then loa dthe file in using cffile. > > Russ Michaels > Macromedia/Allaire Certified ColdFusion Developer > > CFDeveloper > The free resource and community for ColdFusion developer. > http://www.cfdeveloper.co.uk > > Join the CFDeveloper discussion lists. > To subscribe send an e-mail to [EMAIL PROTECTED] > > > > -----Original Message----- > > From: Giles Roadnight [mailto:[EMAIL PROTECTED] > > Sent: 23 January 2004 18:30 > > To: [EMAIL PROTECTED] > > Subject: [ cf-dev ] cfexecute > > > > > > I have this code in a webpage: > > > > <cfexecute name="c:\test.bat"></cfexecute> > > > > test.bat simply contains text saying I am test.bat > > > > I don't get this output on the webpage - I should do as I > > have not specified a file shouldn't I? > > > > What am I doing wrong. > > > > 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] > -- ** 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]
