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]