How to associate .tm files with TeXmacs?
Answer. Create a file texmacs.bat with the following content: rem cmdow @ /hid c:\cygwin\bin\bash –login -c “texmacs \”‘cygpath -u “%1″‘\”” Ensure that it lies in your PATH. Now you can associate .tm files with this batch file. If you want to hide the black Cygwin window when TeXmacs is started, then download cmdow from http://www.commandline.co.uk/cmdow/, drop cmdow.exe e.g. in your C:\WINDOWS\system32 directory (this applies to Windows XP installed on C:\) and uncomment (i.e. remove “rem” from) the first line of texmacs.bat.