[cfaussie] Re: Using CFEXECUTE to run a batch file

2007-12-20 Thread Kym Kovan

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
>
>  timeout="10">
> 
>
> This will echo the contents of the file test.bat to the screen rather
> than execute the file.
>
> Am I missing something simple
>   

You need to get the OS Command.exe to run the batch file so try this





All the best to everyone for the festive season and the New Year.

Kym K

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Using CFEXECUTE to run a batch file

2007-12-20 Thread Adam Chapman

Hi Peter,

I use cfexecute like this:



Regards,
Adam

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, 21 December 2007 1:01 AM
To: cfaussie
Subject: [cfaussie] Using CFEXECUTE to run a batch file


I have a batch file d:\test.bat which I would like to execute to run
on the server.

My command is as follows




This will echo the contents of the file test.bat to the screen rather
than execute the file.

Am I missing something simple


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---



[cfaussie] Re: Using CFEXECUTE to run a batch file

2007-12-20 Thread Bruce Trevarthen (B2 Limited)

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 have a batch file d:\test.bat which I would like to execute to run
on the server.

My command is as follows




This will echo the contents of the file test.bat to the screen rather
than execute the file.

Am I missing something simple


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~--~~~~--~~--~--~---