shtern
asked on
Link to the program with parameter
Hello,
how can I create a link to the exe-file with parameter, something like this: "demo.exe kl.dbd"? Is it possible at all?
Thanx
how can I create a link to the exe-file with parameter, something like this: "demo.exe kl.dbd"? Is it possible at all?
Thanx
ASKER
I need to have such a link in HTML. I thought, if being in html-theme, it is understood as is. Sorry if the question was a little undefined.
I need to write, e.g., <a href="demo.exe kl.dbd">
But I don't get it working like that.
I need to write, e.g., <a href="demo.exe kl.dbd">
But I don't get it working like that.
Calling an exe file on clicking on a link is possible but there are two things to this.
1. Your IIS should have Permissions: Execute(including script) enabled (in case you are using IIS Server). This indicates that when you run an exe through the URL on by clicking on the link, the exe file will run as a background process on your web server. You can pass paramters to this exe file.
2. By default this is not enabled. So if you run an exe that is on the web server,it will ask prompt for a download of the exe.
^kC
1. Your IIS should have Permissions: Execute(including script) enabled (in case you are using IIS Server). This indicates that when you run an exe through the URL on by clicking on the link, the exe file will run as a background process on your web server. You can pass paramters to this exe file.
2. By default this is not enabled. So if you run an exe that is on the web server,it will ask prompt for a download of the exe.
^kC
ASKER
OK, but if you take older Opera, set the options, pack it on the cd with your html's, as many magazines do, then you can start the exe's from this cd. That is, what I need, no online or so. So, how can I do it?
You have to give the physical path of the exe file on the CD to execute.
<a target="_blank" href="file:///C:/winnt/not epad.exe"> Open Notepad</a>
However, when you click on the link,it will prompt you whether you want to open/save the exe file. Clicking the open will run the exe file.
^kC
<a target="_blank" href="file:///C:/winnt/not
However, when you click on the link,it will prompt you whether you want to open/save the exe file. Clicking the open will run the exe file.
^kC
ASKER
ok, I know it all, but what is with the parameter?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and while we are here, if you could just settle these old Qs that you have,
https://www.experts-exchange.com/questions/20185066/nVidia-Geforce-with-TV-out.html
https://www.experts-exchange.com/questions/20199166/Problem-displaying-italian-symbols.html
https://www.experts-exchange.com/questions/20181414/Large-bitmaps.html
https://www.experts-exchange.com/questions/20143906/new-and-newInstance.html
you will find that the top experts just help those who respect the site and the experts by not abandoning their Qs.
thanks.
https://www.experts-exchange.com/questions/20185066/nVidia-Geforce-with-TV-out.html
https://www.experts-exchange.com/questions/20199166/Problem-displaying-italian-symbols.html
https://www.experts-exchange.com/questions/20181414/Large-bitmaps.html
https://www.experts-exchange.com/questions/20143906/new-and-newInstance.html
you will find that the top experts just help those who respect the site and the experts by not abandoning their Qs.
thanks.
You cannot do what you want to do with just HTML or even with client scripting. It will require you use activeX to get around the built in browser security.
Cd&
Cd&
Exactly, an absolute "no-can-do" this.
Executing an EXE file using a normal link is not possible. If it were you would be able to destroy a clients PC just by making him/her click a link.
Definate security hazzard!!
Max.
Executing an EXE file using a normal link is not possible. If it were you would be able to destroy a clients PC just by making him/her click a link.
Definate security hazzard!!
Max.
I think its difficult to run an exe with a parameter through an A Href but without that it can be run.
Dreammaster... shtern actually wants to run the exe file on a CD,not on a web server... I dont think there is a security hazard
^kC
Dreammaster... shtern actually wants to run the exe file on a CD,not on a web server... I dont think there is a security hazard
^kC
Yes you can run and exe from a link, but not without the prompt, and not with a parameter. The security has nothing to do with where it is being run. The browser has built in security to protect the local assets.
The primary function of a web browsers is to browse networks. They work fine as local navigation tools and have limited capabilities for local presentations, but the built in security is designed for their primary function where protection of the local resources must be a priority.
To do this you have to use ActiveX, or better yet use a tool that is designed for presentation.
Cd&
The primary function of a web browsers is to browse networks. They work fine as local navigation tools and have limited capabilities for local presentations, but the built in security is designed for their primary function where protection of the local resources must be a priority.
To do this you have to use ActiveX, or better yet use a tool that is designed for presentation.
Cd&
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
In the absence of responses, I may recommend DELETE unless it is clear
to me that it has value as a PAQ. Silence = you don't care
</note>
Cd&
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
In the absence of responses, I may recommend DELETE unless it is clear
to me that it has value as a PAQ. Silence = you don't care
</note>
Cd&
points to chops and me(being the first one to say its not possible)
It is time to clean this abandoned question up.
I am putting it on a clean up list for CS.
<recommendation>
points to lexxwern
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
I am putting it on a clean up list for CS.
<recommendation>
points to lexxwern
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
What about this for a possible solution?
I want to open a text file within notepad from a intranet web page. If you come up with some unused extension (i.e. *.ttt, *.xtx), rename the text files with that extention and then associate the extension with notepad.exe. Then when you click on the link to the unknown extension, IE would try to open it using an outside application. I am hoping it would work similar to the way PDFs are viewed within the acrobat reader, outside of IE.
Any thoughts?
I want to open a text file within notepad from a intranet web page. If you come up with some unused extension (i.e. *.ttt, *.xtx), rename the text files with that extention and then associate the extension with notepad.exe. Then when you click on the link to the unknown extension, IE would try to open it using an outside application. I am hoping it would work similar to the way PDFs are viewed within the acrobat reader, outside of IE.
Any thoughts?
If you are talking about passing parameters then.. yes,
You can pass parameters to an exe file.. provided the exe file should accept the parameters as well.
e.g c:\program files\Plus!\Microsoft Internet\iexplore.exe www.yahoo.com will open up yahoo.com in IE.
Similarly..You can program you application to do something when you pass certain paramters.
What language are you using ??
^kC