I use cfexecute like this:
<cfexecute name="#batPath#" outputfile="#outputFilePath#" arguments=""
timeout="10" />
Regards,
Adam
You need to get the OS Command.exe to run the batch file so try this
<cfset batchfilename = work_dir & "LOGTEST.BAT">
<cfset variousParameters = "lots of parameters with spaces between them">
<cfexecute name="D:\winnt\system32\CMD.EXE" arguments="/C
#batchfilename# #variousParameters#"></cfexecute>
All the best to everyone for the festive season and the New Year.
Kym K