> Date: Sat, 16 Jul 2005 14:40:00 +0200 > From: Lennart Borgman <[EMAIL PROTECTED]> > CC: Eli Zaretskii <[EMAIL PROTECTED]>, emacs-devel@gnu.org > > I do not think it is only for DLLs. I can not say that MS is very clear > in their documentation, some info is hard to find. But look here, this > page says that ShellExecute looks in App Paths: > > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fa_perceived_types.asp
According to that article, there are a few more directories where openp should look for executables: the Windows directory and the Windows/System32 (Windows/system on Windows 9X) directory. Perhaps w32.c:init_environment should prepend these two directories to the value of PATH it sets up. Then they will be automatically searched. > If you have firefox installed (and you do not have it in your path) you > can try this: > > Open "Start Menu - Run" and enter firefox.exe. > > It will start Firefox. However just typing "firefox.exe" in a cmd.exe > window does not work. This could be by intent (backward compatibility, > trying to behave as other shells) or just a bug. So it sounds like adding to openp the search in "App Paths" would be useful at least in some cases. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel