This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File associations in Windows [was: Re: Invoking Cygwin vim from Windows Explorer]


On 10 February 2014 04:47, Max Polk <maxpolk@gmail.com> 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
<http://cygwin.com/ml/cygwin/2014-02/msg00171.html>.
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]