Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42B12531.BAD34D08@dessent.net> Date: Thu, 16 Jun 2005 00:07:29 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Bug in chere References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Report: -5.8/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.1 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Jan Schormann wrote: > in my context menu on folders, I have WinZip, WinRar, WinCvs, > TortoiseSVN, WinAmp, Perforce, and WinMerge ... > > This is what WinAmp does and it looks rather simple: > > Windows Registry Editor Version 5.00 > > [HKEY_CLASSES_ROOT\Directory\shell\Winamp.Enqueue] > @="&Enqueue in Winamp" > > [HKEY_CLASSES_ROOT\Directory\shell\Winamp.Enqueue\command] > @="\"C:\\Program Files\\Winamp\\Winamp.exe\" /ADD \"%1\"" I haven't been following this thread very closely (and I don't know what chere uses currently) but I use the following in association with sysinternals' contig.exe to make it possible to right click on any file or folder and have it run contig on it: [HKEY_CLASSES_ROOT\Folder\shell\Contig\Command] @="\"C:\\Program Files\\sysinternals\\contig.exe\" -s \"%1\\*\"" [HKEY_CLASSES_ROOT\*\shell\Contig\Command] @="\"C:\\Program Files\\sysinternals\\contig.exe\" \"%1\"" In general you can add anything to any file types' menu by placing a key under the appropriate 'shell' key for that file's class. No COM required. I believe that you have to use COM if you want the context menu to have intelligence, e.g. checking if the file's content is something you can process, or having a submenu, etc. But for just simple menu commands its not necessary. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/