ON this page: http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/Tags17.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]
