As a partial answer, remember that you are executing commands under
the account that the CF Service is logged in as. You may in fact be
launching your program, but nobody can see it because it is opening up
under a different user account. Task Manager should tell you whether
these tasks are running or not.

For your CF Service, it may help to log in using a user account
(instead of the system account), and check the box to "Allow service
to interact with desktop." If you don't check that box, programs
launched by the service will not actually show up in a visible way
that a sys admin can interact with.

You can issue commands to run a program as a different user using
batch files or VB scripts, but you have to deal with the issue of
having a password hard-coded in a text file on you computer.

You might want to check out wget. It is a minimalist Web browser that
is good for executing CF code. I use wget to execute CF code from
inside SQL Server DTS scripts.

Good luck,
Mike Chabot

On Mon, 31 Jan 2005 09:22:11 -0600, Flavio Ishii <[EMAIL PROTECTED]> wrote:
> I'm trying to open iexplore in the appserver with a template that contains
> the following:
> 
> <cfexecute name="C:\...\run_test.cmd" timeout="10">
> </cfexecute>
> 
> run_test.cmd has the following line in it:
> 
> start iexplore.exe
> 
> But I can't get it to open iexplore on the server. I also tried using a
> batch file but nothing. Although, both the command and batch files I created
> execute successfully when double clicking them on the actual server.
> 
> I also read that programs cannot pop open on the server's desktop unless
> they are scheduled. Is this true? If so, would I have to create a schedule
> task on the fly to do this? Or is there an easier solution to all this?
> 
> Flavio

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192325
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