Cygwin, emacs and associate it with a file type on Windows ..
Hello,
Not sure it's a right place for asking this question ... if not ... please advice where should I look for help.
I want to use Emacs as and editor and shell. On Windows 7 I installed cygwin , X11 and emacs. In terminal I added to /etc/profile file these lines:
XWin -multiwindow 2> /dev/null&
export DISPLAY=:0.0
sleep 1
emacs 2> /dev/null&
I created a shortcut that execute this command: C:\rhcygwin64\bin\mintty.exe - Now every time I start that shortcut it starts emacs. No problem. My goal is: associate some file types like .txt , .csv and etc with emacs in order when I start foo.txt it'll open in emacs. When I tried to do it 'Set Associtation' control it accepts only file name and it does not take '-'. Hence when I try to open foo.txt it does not work. I tried to create a shortcut to mintty.exe but it didn't work either. Could someone help me to create association in order to start to mintty.exe but rather mintty.exe - ? Thanks in advance
|