I think if you change the suffix of the file to .cmd it will run.
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL
PROTECTED]
Sent: Friday, 21 December 2007 3:01 a.m.
To: cfaussie
Subject: [cfaussie] Using CFEXECUTE to run a batch file
I
Hi Peter,
I use cfexecute like this:
cfexecute name=#batPath# outputfile=#outputFilePath# arguments=
timeout=10 /
Regards,
Adam
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 21 December 2007 1:01 AM
To: cfaussie
Subject: [cfaussie] Using CFEXECUTE
Hello,
[EMAIL PROTECTED] wrote:
I have a batch file d:\test.bat which I would like to execute to run
on the server.
My command is as follows
cfexecute name=d:\test.bat
timeout=10
/cfexecute
This will echo the contents of the file test.bat to the screen rather
than execute the file.