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.




______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to