Re: mailcap.win32
Syafril Hermansyah <[email protected]> Thu, 20 Feb 2003 21:43:58 +0700
| Newsgroups | gmane.mail.sylpheed.claws.windows |
|---|---|
| Organization | Duta Integrasi Pratama - Indonesia |
| Message-ID | <[email protected]> |
On Thu, 20 Feb 2003 14:46:03 +0100 Thorsten Maerz (TM) wrote: > Try a catch-all entry like > .* notepad "%s" > in the first line (search is stopped after first match). > Also watch the <tab> between the extension and the command. OK, just did. > The installer already creates a mailcap.win32 in the etc directory > with notepad as the handler for .bat and .cmd files. I have rename it to mailcap.win32.template since beginning, I put mailcap.win32 under %HomeDir. > You can try to send yourself a simble batch file and try opening it > with a double click - it should be opened for editing instead > of being executed. Does this work? Yes, it work well. I prove (re-testing) by rename/remove mailcap.win32 from %HomeDir then retry open *.bat attachment, the attachment execute/run by double clicking it. > > But I am surprise that any *.zip attachment automatically (I mean by > > double click the attachment) open by unzip.exe (ultimate zip), even > > location of this program not listed on environment nor > > mailcap.win32. unzip.exe only listed as default program under > > Windows Association (file type options). > > Right, the default application is taken from the system setting unless > it is overridden by the mailcap.win32 (this was once broken and only > "open with" showed the correct app). Are you saying, if we put the default application under mailcap.win32 at least those application at least comes up on "open with" menu ? -- syafril ------- Syafril Hermansyah<syafril-at-dutaint.co.id> ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge