Execute an application from IE with command string?

Fillzter

Junior Member
Jul 24, 2005
17
0
0
I want to be able to execute this command from internet explorer:

c:\program\daemontools\daemon.exe -mount 0,"movie.iso"


If I do it like this:

file:///c:/program/daemontools/daemon.exe -mount 0,"film.iso"

it doesn't work.. :( Is there a way to make it happen? Or something like it?
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
No, for security reasons you really do NOT want IE to be able to start exe files!

What you would need to do is in the browser settings associate daemon.exe with files of type ISO.
 

Fillzter

Junior Member
Jul 24, 2005
17
0
0
That won't work. You can't open daemon with a certain file. You must mount it from the command line.

Is it possible to do this from Flash?

EDIT: I'm making a script from where I (on my computer) can mount a movie that I click on (wich automatically plays on my projector). I am doing this in XHTML because my lack of C++ programing knowledge...
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Flash and Java will also have problems accessing the local file system when they are running in a browser, This is a good thing, and protects you from the intraweb.

If you don't know C++, how about VB?
 

Fillzter

Junior Member
Jul 24, 2005
17
0
0
hmm.. I want an interface that is easy to work with and that has great looks! With XHTML I can do all kind of effects. But if I am to do that with C++, I will have to learn a _lot_ I fear...

EDIT: Don't know Visual Basic either..
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
have you tried a cgi script and running web server bound to 127.0.0.1? I would think you could script something like this in a cgi language (I have done shell cgi in a pinch ;))
 

igowerf

Diamond Member
Jun 27, 2000
7,697
1
76
Try downloading one of those Daemon Tool front ends. They might be able to automatically mount an ISO when you open one.
 

Fillzter

Junior Member
Jul 24, 2005
17
0
0
hmm.. Never used cgi either :p

I'm wondering if I just shouldn't learn c++. Got to do it sometime, why not now?..

Do you think it would be easy, relatively speaking, to make a program that would read the contents of a map, then list the content in that map as buttons (one button for each sub directory it finds) with a command line bound to each button?
 

Fillzter

Junior Member
Jul 24, 2005
17
0
0
Originally posted by: igowerf
Try downloading one of those Daemon Tool front ends. They might be able to automatically mount an ISO when you open one.

hmm.. I'll try that!