Hyperlink with program arguments

E

Eric

Is it possible to have a hyperlink to an executable and
pass in arguments.

For example:

c:\notepad.exe myfile.txt

Thanks,

Eric
 
P

Perry

Look at the (read/write) Address property of the Hyperlink object as in:

ActiveDocument.Hyperlinks(1).Address = "c:\notepad.exe myfile.txt"

Krgrds,
Perry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top