[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32 does not have emacsclient/server - getting paper size

From: Eli Zaretskii
Subject: Re: w32 does not have emacsclient/server - getting paper size
Date: Sat, 16 Jul 2005 16:29:06 +0300

> Date: Sat, 16 Jul 2005 14:40:00 +0200
> From: Lennart Borgman <address@hidden>
> CC: Eli Zaretskii <address@hidden>,  address@hidden
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]