Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: location of application installed and executable

by jplindstrom (Monsignor)
on Oct 08, 2001 at 15:00 UTC ( #117429=note: print w/ replies, xml ) Need Help??


in reply to location of application installed and executable

For me, Excel is in the path and I can imagine that WordPad is always in the path, it being part of the OS.

So you can start the programs with

system("excel"); system("wordpad");

If you want to check for program existance first, try manually iterating over the parts in $ENV{PATH}.

In the case that Excel for some reason isn't in the path, there is probably some registry key for that... Try searching in your own registry (although that may differ between versions).

/J


Comment on Re: location of application installed and executable
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://117429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-26 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls