Ok, solved the problem another way.  Still used CF to write a batch file,
but then got CG to tell the task scheduler to run the batch file, now it
runs in a new window and executes perfectly.

--
Jay 

> -----Original Message-----
> From: James Smith [mailto:[EMAIL PROTECTED] 
> Sent: 21 October 2004 13:18
> To: CF-Talk
> Subject: RE: Running tasks in a console window?
> 
> I haven't tried that yet, will give it a shot this afternoon sometime.
> 
> --
> Jay 
> 
> > -----Original Message-----
> > From: Craig Dudley [mailto:[EMAIL PROTECTED]
> > Sent: 20 October 2004 14:31
> > To: CF-Talk
> > Subject: RE: Running tasks in a console window?
> > 
> > So you haven't tried an arguments array then. Try this..
> > 
> > <cfscript>
> > args = arraynew(1);
> > args[1] = "file";
> > args[2] = "url";
> > args[3] = "etc";
> > </cfscript>
> > 
> > <cfexecute name="c:\path\curl.exe" arguments="#args#"
> > timeout="30"></cfexecute>
> > 
> > Might not make a difference, but its worth a try.
> > 
> > 
> > -----Original Message-----
> > From: James Smith [mailto:[EMAIL PROTECTED]
> > Sent: 20 October 2004 13:42
> > To: CF-Talk
> > Subject: RE: Running tasks in a console window?
> > 
> > 
> > I have tried...
> > <cfexecute name="c:\path\curl.exe --arguments ......... someurl"/> 
> > <cfexecute name="c:\path\curl.exe" arguments="--arguments 
> > .........someurl"/>
> > 
> > Both with and without timeout variables.  I have even tried...
> > <cfexecute name="c:\windows\system32\cmd.exe" arguments="/c 
> > c:\path\curl.exe ..."/>
> > 
> > And all produce the same result.
> > 
> > --
> > Jay
> > 
> > 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes  by Ben Forta 
http://www.houseoffusion.com/banners/view.cfm?bannerid=40

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182328
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to