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:201551 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
RE: Running exe file from browser
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
Re: Running exe file from browser
Thanks Ian. I can see that starting the application from the browser is not going to work. How about just being able to add a shortcut to the end users desktop that points to the application? Click here to add a shortcut to the application ~| 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:201571 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
RE: Running exe file from browser
Here we had that kind of problem but we finally settled for a file//N:\appz.exe to start the application and we add a little prompt box click on open to start the application, once they click OK of the alert box, then click open, it stats the appz. We never heard of it and everybody is using the appz through our Intranet so it must be ok. Pat -Original Message- From: Tim Claremont [mailto:[EMAIL PROTECTED] Sent: April 5, 2005 15:05 To: CF-Talk Subject: Re: Running exe file from browser Thanks Ian. I can see that starting the application from the browser is not going to work. How about just being able to add a shortcut to the end users desktop that points to the application? Click here to add a shortcut to the application ~| 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:201590 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
Running exe file from browser
We have a shared file server that runs an application. All users have the same drive letter mapped, etc. The application is as follows: G:\applications\Program.exe I would like to place what amounts to a shortcut on my web page that allows all end users to run Program.exe from that link. My understanding is that CFEXECUTE runs a process ON THE SERVER and therefore is not appropriate for what I am trying to do. When I simply place an href link on my page, I get the security warning about the risks of opening executables, etc. I understand WHY that message appears, but is there a way to avoid that message? Also, when I follow the link from the cfm page, I get a FoxPro (the exe is a FoxPro application) that says File Security.exe does not exist. But if I go to the command line or follow a shortcut that is placed on my desktop, I never get that error message. I have played around with writing batch files and putting them on the server, etc but to no avail. Finally, what are the chances that I can execute a process that places a shortcut on the end users desktop when they click a button on my website? Something like Click here to add a shortcut to g:\applications\program.exe onto your desktop... TIA, Tim ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses. Thank You, Viahealth ** ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201412 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
Re: Running exe file from browser
We have a shared file server that runs an application. All users have the same drive letter mapped, etc. The application is as follows: My understanding is that CFEXECUTE runs a process ON THE SERVER and therefore is not appropriate for what I am trying to do. Exactly right. When I simply place an href link on my page, I get the security warning about the risks of opening executables, etc. I understand WHY that message appears, but is there a way to avoid that message? In IE, at least, you can really only avoid this message by adding your site to the Trusted zone (and even then I'm not sure if it'll do it with SP2 installed). Also, when I follow the link from the cfm page, I get a FoxPro (the exe is a FoxPro application) that says File Security.exe does not exist. What is the link you're using? It should look something like this: file://c:/shareddrive/program.exe Finally, what are the chances that I can execute a process that places a shortcut on the end users desktop when they click a button on my website? Something like Click here to add a shortcut to g:\applications\program.exe onto your desktop... Very good - if you are willing to get another security message. You can use Windows Scripting Host to do this (either via an HTA application or a JS/VBS script - but the HTA might be simpler). Do a search on MSDN.microsoft.com for HTA or WSH. Jim Davis ~| 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:201414 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
Re: Running exe file from browser
Thanks Jim, but still a problem. I am using: file://g:/applications/foobar.exe There are several applications in that directory. SOME of the applications launch without a hitch, but when I use this particular FoxPro application I get the File security.exe does not exist error. Note that this is a FoxPro Error Message generated by the application. It is not an IE error message. Strangely, if I go to the command line and enter g:/applications/foobar.exe the application runs fine, with no reference to security.exe. Apparently the OS can tell from whence the application is being started??? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201429 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
RE: Running exe file from browser
I am using: file://g:/applications/foobar.exe There are several applications in that directory. SOME of the applications launch without a hitch, but when I use this particular FoxPro application I get the File security.exe does not exist error. Note that this is a FoxPro Error Message generated by the application. It is not an IE error message. Strangely, if I go to the command line and enter g:/applications/foobar.exe the application runs fine, with no reference to security.exe. Apparently the OS can tell from whence the application is being started??? Is there a file called security.exe within that directory? When you go to the command line, do you switch to that directory before running the application? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201433 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
Re: Running exe file from browser
There is NOT a file called security.exe in that directory. There IS a security.exe a couple of subdirectories down, but the executable to launch the application, and the sexurity.exe file are NOT in the same directory. Further, I copied the security.exe file to the application start directory so that they WERE in the dame directory, to no avail. I still got the same message. I see no indication of WHERE it expects to find security.exe. I am using: file://g:/applications/foobar.exe Is there a file called security.exe within that directory? When you go to the command line, do you switch to that directory before running the application? ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201435 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