shell_exec: how activate html in same directory as calling program

new topic     » topic index » view thread      » older message » newer message

Does anyone know how I can use the "shellExecute" command to activate an
html file *in the same directory* as the program asserting the command?

I got this from EuDesigner, to use as a prototype example:
  shellExecute("", "file:///" & EuDir & "\\HTML\\Refman.htm", 1)

and I understand that "EuDir" has had the directory path for Euphoria files
put into it, and that "\\HTML\\" is a continuation of the path that leads to
the directory that contains "Refman.htm", so the result is a full file path
to the html file; but I want to just activate an html file that is in the
same directory as the calling program, so I don't need or want to have to
specify the full file path.  But every effort to remove the EuDir and the
HTML path so that I would just open a .htm file in the same directory, no
path name needed (?), fails.  Yet it seems like it should certainly be
doable.

So how do I do it??

Dan

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu