in reply to how to identify the installed directory

You don't really need to know that. You can simply
system ("start path/to/file.pdf");
and the associated program will start automagically.


holli, /regexed monk/