X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=co 3NkvjmlGeZzCv9dPQOjObQB0/SbuHGyosT/U8PfC5vClUvJ/RSpKkBCJ6AMfblC2 mv1USPYNFAqsuHa92mfdX1v5YL83kW2OqhGEUIIeRGm5GSGpoSzILXBtEdBbdzM1 W92D/0o6J+FkYVqpWgYouKqE8T00fXHuXSuxRXRKg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=3emeTlsa RigBFUwxbUqVO6N3nPU=; b=dIK8MXKG+fZxZZEwLha25n6O65Pd+Lso/A7nQKTN t6DrXyd1GnVxYOlDune4M1l5okFyoZ+2Of1oBS0UoMr7G/+R/Iuban1zMb5YojW1 tG1SU7NIeA/2RXqKISG+VHzBQqfgYHhkG0ozQyod4iHCJnARhs76aaLlCXjP8roE v+0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-wi0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=cZid1C7K+7ktfwaI/USCcK4sRYKpiQ151mRFmrQaWfg=; b=lB6Fzlsi8QCVRnEpcqVozyUwsv2KVdS1syNTZnw3x45vJdQRyir+BKj5Oy1er2z1Jn ZEZXT0kh+sqOskMfftjx9+CNVBA8dm64dVx2aknTO1So1JIejUI1a0T+Z/AKk6xMg+Rd MFpzzvDj/7z8YrjtBn5Xy2wifRMMvYJZdg7/+huX7xnWwsNDxuaCfJdG24mPQaMJaK8c Yqfcd42/JCK3IKJ+g5uqYk3JPyQVQCIUAJQ5haNI26Zt3KvahlEHzivDc2ZYddHkPIZ2 YxdtDKg6R1i+MItSz9DHDiFlX+bwwVGrKkeWyuGnm9J7i+uws1Fcvf2Z6G78IHDb4msa xFhw== X-Gm-Message-State: ALoCoQmBS5njNNBsh3Z7GRK96KgWTPC6itNVLjiZrQEGTNZ8go4KHsKysY1zEV5KeL3mh5zz4Occ MIME-Version: 1.0 X-Received: by 10.180.188.169 with SMTP id gb9mr384417wic.17.1392097496901; Mon, 10 Feb 2014 21:44:56 -0800 (PST) In-Reply-To: <52F83DBD.5030704@gmail.com> References: <1527769059 DOT 20140209090943 AT mtu-net DOT ru> <832507782 DOT 20140209183702 AT mtu-net DOT ru> <52F83DBD DOT 5030704 AT gmail DOT com> Date: Tue, 11 Feb 2014 07:44:56 +0200 Message-ID: Subject: Re: File associations in Windows [was: Re: Invoking Cygwin vim from Windows Explorer] From: Jarno Malmari To: maxpolk AT gmail DOT com, cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes On 10 February 2014 04:47, Max Polk wrote: > The first problem is that Windows file associations have to be a single exe with no arguments. When you run that file (double click in Explorer), Windows passes the filename to that single .exe program. Not exactly true. There's just no good tool for it anymore shipped with Windows. You can do this by editing registry or use a tool similar to what I suggested in my earlier post . For instance, you can edit the default action "Open" which opens .txt files with cygwin nano using mintty as terminal, on double click. More conservative approach would be to add new non-default action "Open in nano" and do the same by picking that from the right-click menu in explorer. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple