The filename is passed to the executable (runme.exe) for processing. When I run this manually at the command prompt the process spits out messages to the window while its processing. Ex. Version #, pages processed etc.etc. When I specify the outputfile in the <cfexecute it dumps out the contents of the test.bat file lines *not* the above.
At 07:23 PM 6/5/2002 +0100, you wrote: >What is supposed to happen when you run the batch file? > >Ian > >-----Original Message----- >From: phumes1 [mailto:[EMAIL PROTECTED]] >Sent: 05 June 2002 18:33 >To: CF-Talk >Subject: <cfexecute...What the (*&#$ > > >I have a .bat file which I'm passing to my <cfexecute. Everything works >fine except for the output file contents. > >test.bat >---------- > >set local >c: >cd c:\dir1\dir2 >c:\program\runme.exe c:\temp\filename printer > > >Here is my <cfexecute that runs the above batch file. > ><cfexecute name="test.bat" > arguments="-e /q /v" > outputfile="test.log" > timeOut="1000"> ></cfexecute> > > >The log file contains the lines above and *not* the output that I get if I >run the batch file from a command prompt. > >C:\WINNT\system32\set local >C:\WINNT\system32>c: >C:\>cd c:\dir1\dir2 >D:\dir1\dir2>c:\program\runme.exe c:\temp\filename printer > >Why? > >I want the output that I receive when I run it manually from the command >prompt. > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists