[R] Fwd: Re: shell.exec() on Windows, unexpected behavior

Richard M. Heiberger rmh at temple.edu
Sat May 12 23:15:14 CEST 2007


Thanks to Duncan and Gabor.

Following from Duncan

On my machine,
HKEY_CLASSES_ROOT\AcroExch.Document\shell\open\command
HKEY_CLASSES_ROOT\AcroExch.Document.7\shell\open\command

are both set to

"C:\Program Files\Adobe\Acrobat 6.0\Acrobat\Acrobat.exe" "%1"

HKEY_CLASSES_ROOT\acrobat\shell\open\command
is set to (without quotes on the file name)

C:\Program Files\Adobe\Acrobat 8.0\Reader\AcroRd32.exe /u "%1"


HKEY_CLASSES_ROOT\.pdf\OpenWithList\AcroRd32.exe\
has
ab (Default) REG_SZ
as its sole entry


There is whole collection of items under
HKEY_CURRENT_USER\Software\Adobe\
and under
HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\



Following from Gabor
The machine had acrotray.exe in its
c:/Documents and Settings/All Users/Start Menu/Programs/Startup/Acrobat Assistant.lnk
which links to C:\Program Files\Adobe\Acrobat 6.0\Distillr\acrotray.exe

This program appears in "Windows Task Manager/Processes".
It did not appear on the system tray.

I moved it to
c:/Documents and Settings/All Users/Start Menu/Programs/Startup.removed/Acrobat Assistant.lnk
and rebooted.

acrotray.exe is no longer in "Windows Task Manager/Processes".
shell.exec(".../.pdf") still starts Acrobat 6


At this point I am done with this investigation.

Rich



More information about the R-help mailing list