Dave,


When I do it that way, I don't get any errors but it just doesn't work at
all.... Any ideas?


Jon

  _____  

From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 11:42 AM
To: CF-Talk
Subject: RE: I'm so frustrated - Can somebody make my day? (cfexecute)

> This is on a machine with windows 2003 server ... we're
> currently running CF in command line mode... here's what's
> ruining my day... please help...
>  
>  <cfexecute name="echo 1234 > jonyay.txt" timeout="10" />

The program you want to run is cmd.exe. The "echo" command is part of the
command processor itself.

So, you might try something like this:

<cfexecute name="c:\windows\system32\cmd.exe" arguments="echo 1234 >
jonyay.txt" ...>

Personally, I usually screw CFEXECUTE commands up the first time I try them,
so I may have done the same above as well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to