Hi Arno...
The answer to the first question is easy... try using the function GetWindowDirs()from the system configuration section of the programmer's toolbox (toolbox.fp)
This returns the path of the windows installation and the system directory...
As for the F5 question... Pressing F5 togles the bookmark display. You don't say which option (bookmarks shown or hidden) you actually want.
Now I'm sure someone will correct me if I'm wrong, but I think that acrobat will display a document in bookmark view if bookmarks exist in the PDF, and not if they don't, so there is no way to force the startup display unless you have access to PDF writing software.
If you are using launcheExecutable to run acrobat, then I can't see anyway that you could programatically change
this either. One option would be to run acrobat as an activeX server, and you would probably be able to control the display mode (I haven't checked this... just guessing!!) Of course the extra work of writing the activeX code may well persuade you that the default view isn't so bad...