cfexecute and prompts

2001-03-13 Thread Todd Ashworth

I am trying to run a program with cfexecute.  The problem I am having is
that the program has a prompt built into it.  Every time I run it via
cfexecute it gets to the prompt and just sits there waiting on an answer.
Does cfexecute have any provisions for skipping over things like this?  Is
there any way at all to get past the prompt programmatically?

Todd Ashworth --
Web Application Developer
Network Administrator

Saber Corporation
314 Oakland Ave.
Rock Hill, SC 29730
(803) 327-0137 [111]



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: [cfexecute and prompts]

2001-03-13 Thread Alex

yes. post your code.

"Todd Ashworth" [EMAIL PROTECTED] wrote:
I am trying to run a program with cfexecute.  The problem I am having is
that the program has a prompt built into it.  Every time I run it via
cfexecute it gets to the prompt and just sits there waiting on an answer.
Does cfexecute have any provisions for skipping over things like this?  Is
there any way at all to get past the prompt programmatically?

Todd Ashworth --
Web Application Developer
Network Administrator

Saber Corporation
314 Oakland Ave.
Rock Hill, SC 29730
(803) 327-0137 [111]
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: [cfexecute and prompts]

2001-03-13 Thread Todd Ashworth

Basicly what I am doing is having someone upload a zip file which I can then
unzip using a command line program.

cfexecute name="#Attributes.ExecutionPath#wzunzip.exe" arguments="-ybc
#Attributes.DirectoryPath##File.ServerFile#
#Attributes.DirectoryPath#"/cfexecute

The first thing the command line program does upon being executed is ask a
question and wait for a response.  Since the execution can never be
completed, it just sits in memory forever.

Todd Ashworth --
Web Application Developer
Network Administrator

Saber Corporation
314 Oakland Ave.
Rock Hill, SC 29730
(803) 327-0137 [111]
- Original Message -
From: "Alex" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 10:56 AM
Subject: Re: [cfexecute and prompts]


| yes. post your code.
|
| "Todd Ashworth" [EMAIL PROTECTED] wrote:
| I am trying to run a program with cfexecute.  The problem I am having is
| that the program has a prompt built into it.  Every time I run it via
| cfexecute it gets to the prompt and just sits there waiting on an
answer.
| Does cfexecute have any provisions for skipping over things like this?
Is
| there any way at all to get past the prompt programmatically?



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfexecute and prompts

2001-03-13 Thread Craig Dudley

Not unless the program in question accepts paramaters from the command line.

-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 15:55
To: CF-Talk
Subject: cfexecute and prompts


I am trying to run a program with cfexecute.  The problem I am having is
that the program has a prompt built into it.  Every time I run it via
cfexecute it gets to the prompt and just sits there waiting on an answer.
Does cfexecute have any provisions for skipping over things like this?  Is
there any way at all to get past the prompt programmatically?

Todd Ashworth --
Web Application Developer
Network Administrator

Saber Corporation
314 Oakland Ave.
Rock Hill, SC 29730
(803) 327-0137 [111]
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: [Re: [cfexecute and prompts]]

2001-03-13 Thread Alex

write a DOS batch file and call that from cfexecute. 
you need 2 files ..1)the *.bat and 2)a text file that is just a y and carriage
return
 
ex. *.bat
wzunzip stuffvariable  y.txt

"Todd Ashworth" [EMAIL PROTECTED] wrote:
Basicly what I am doing is having someone upload a zip file which I can then
unzip using a command line program.

cfexecute name="#Attributes.ExecutionPath#wzunzip.exe" arguments="-ybc
#Attributes.DirectoryPath##File.ServerFile#
#Attributes.DirectoryPath#"/cfexecute

The first thing the command line program does upon being executed is ask a
question and wait for a response.  Since the execution can never be
completed, it just sits in memory forever.

Todd Ashworth --
Web Application Developer
Network Administrator

Saber Corporation
314 Oakland Ave.
Rock Hill, SC 29730
(803) 327-0137 [111]
- Original Message -
From: "Alex" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 10:56 AM
Subject: Re: [cfexecute and prompts]


| yes. post your code.
|
| "Todd Ashworth" [EMAIL PROTECTED] wrote:
| I am trying to run a program with cfexecute.  The problem I am having is
| that the program has a prompt built into it.  Every time I run it via
| cfexecute it gets to the prompt and just sits there waiting on an
answer.
| Does cfexecute have any provisions for skipping over things like this?
Is
| there any way at all to get past the prompt programmatically?
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists