I am specifying the FULL pathname and it works great except the output files contents (test.log) is *not* what I want. In the test.log files it contains the following lines:
set local c: cd c:\dir1\dir2 c:\program\runme.exe c:\temp\filename printer WHen I run the batch file from the command prompt II get a totally different dump to the screen (which I want). I tried even "piping" it to a file but my output file is always empty. At 02:35 PM 6/5/2002 -0400, you wrote: > > >-----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> > > >You have to specify the FULL pathname, e.g. for Windows: >name="c:\mydir\test.bat". > > From the CF Studio documentation: >------------------------------------------ >NAME >Required. The full path name of the application that is to be executed. > >Note: On Windows systems, you must specify the extension, for example, .exe, >as part of the application's name. > > >--Andy > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

