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

From: Richard M. Heiberger <>
Date: Sat, 12 May 2007 17:15:14 -0400 (EDT)

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

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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 12 May 2007 - 21:22:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 May 2007 - 23:31:39 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.