From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.devel Subject: Re: Windows: Documentation for bin\*.exe Date: Fri, 1 Feb 2008 22:14:23 +0100 Message-ID: References: Reply-To: schierlm@gmx.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201900505 6460 80.91.229.12 (1 Feb 2008 21:15:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 21:15:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 01 22:15:26 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JL3EL-0000XG-0f for ged-emacs-devel@m.gmane.org; Fri, 01 Feb 2008 22:15:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JL3Dt-0000QS-72 for ged-emacs-devel@m.gmane.org; Fri, 01 Feb 2008 16:14:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JL3Dp-0000QJ-V0 for emacs-devel@gnu.org; Fri, 01 Feb 2008 16:14:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JL3Dl-0000Op-2Q for emacs-devel@gnu.org; Fri, 01 Feb 2008 16:14:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JL3Dk-0000Ok-W3 for emacs-devel@gnu.org; Fri, 01 Feb 2008 16:14:49 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JL3Dk-0002OL-Ow for emacs-devel@gnu.org; Fri, 01 Feb 2008 16:14:49 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JL3DY-0005Fb-G1 for emacs-devel@gnu.org; Fri, 01 Feb 2008 21:14:36 +0000 Original-Received: from p549bbbad.dip0.t-ipconnect.de ([84.155.187.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2008 21:14:36 +0000 Original-Received: from schierlm by p549bbbad.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Feb 2008 21:14:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p549bbbad.dip0.t-ipconnect.de User-Agent: 40tude_Dialog/2.0.14.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87962 Archived-At: On Thu, 31 Jan 2008 22:54:02 +0100, Reiner Steib wrote: >> In Windows' file manager (explorer.exe), you can right click on a file >> and select "Open With..." (re-translated from German, I'm not sure >> about the exact wording in English) The internal name of this action (in the Explorer's object model) is "openas", but some registry keys suggest that "OpenWith" is also ok (maybe it was renamed?). >> But now Explorer remembered all Emacs executables and in its >> selection dialog box (after "Open with...") presents severals >> executables but they all have the very same description ("GNU Emacs >> for Windows NT/95/98/2000/ME/XP" or similar; FileDescription in >> nt/emacs.rc maybe?) and icon (the new Emacs icon). Windows will show there the content of the VersionInfo resource record (the one that is displayed in the propery sheet tab "Version" of te .EXE file). It depends on the compiler where that one is stored. This has been changed in Windows XP or 2000 (don't remember which one), before, it showed the EXE name. This led to interesting results, like opening zip archives with "the most powerful freeware archive extracting utility" or websites with "the fastest browser on earth". But software authors learned from it and stopped writing marketing slogans into the VersionInfo resource :-) >> (BTW, how to delete existing entries in "Open With..."?) Use the registry editor. Depending on whether you did it with Admin privileges or without, you will have to check HKEY_CLASSES_ROOT\.###\OpenWithList or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.###\OpenWithList Both can contain keys ("folders") or values ("entries" in the right pane) with EXE names, paths, or OLE class IDs in it. There may also be a MRU entry that orders the other entries. Just delete what you do not need and remove the entries from the MRU entry as well (if present). This is for Windows XP, the key might be at a diferent location for other versions, but doing a search for a key with exact name "OpenWithList" should point you to the right location. Or, alternatively, open the file with 10 other programs, in fact rotating the "old" entries out. Michael