Hi,
Have you tried to pass the document as an argument?
Here's the help on the subject:
runProgramInGuest
Runs a specified program in the guest operating system.
The -noWait option returns a prompt immediately after
the program starts in the guest, rather than waiting for it
to finish. This option is useful for interactive programs.
The -activeWindow option ensures that the Windows
GUI is visible, not minimized. It has no effect on Linux.
The -interactive option forces interactive guest login.
It is useful for Vista and Windows 7 guests to make the
program visible in the console window.
You must provide the full pathname of a program
accessible to the guest. Also provide full accessible
pathnames for any files specified in the program
arguments, according to requirements of the program.
VMware Tools and a valid guest login are required.
<path to .vmx file>
[ -noWait |
-activeWindow |
-interactive ]
<program name>
[ <program arguments> ]
see vmrun manual at: VIX API Documentation
--
Wil