First: Does the server have permissions to read and execute that share?  By 
default the CF service user would probably not.  It would have to be given the 
appropriate permissions just is any other user.

Second: When this runs, it is going to run from the server's point of view.  
Not the user who told the server to do it.  Does this make sense to do from the 
point of view of the purpose of the application being run?  Is this some sort 
of interactive program that is expecting inputs that the service can not 
provide, or does it just run a process that does it's job and then stops.  The 
former is not going to work well with CF, that latter should be just fine.

HTH


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Tim Claremont [mailto:[EMAIL PROTECTED]
....Sent: Tuesday, April 05, 2005 11:17 AM
....To: CF-Talk
....Subject: Re: Running exe file from browser
....
....Still no luck after playing with it further. To better explain...
....
....I am trying to create a "Click here to start application" button on my
....web site. The objective is to run the application at the following
....address:
....
....g:\shared\applications\Programs\PC.exe
....
....Note that the G drive is a SHARED network drive and is NOT the users
....local machine, nor is it the web server.
....
....This application starts and runs fine from either a shortcut placed on
....the end users desktop or from the command line with the very parameters
....shown above. No flags, etc.
....
....I know I cannot accomplish this solely with server-side CF, but I figured
....JavaScript or VBScript or ActiveX or SOMETHING could be put into my CF
....page to make this happen!
....
....Barring this possibility, what can I use to create a shortcut on the end
....users desktop that will allow them to launch the application themselves?
....I have found tutorials that show how to add shortcuts for websites, but
....not for applications.
....
....TIA,
....Tim
....
....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:201557
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to