[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: auto-calling the right application depending on the doc-type



Wladimir Krawtschunowski wrote:
Oliver Scorp wrote:

hi,

does exist a command in linux which starts always the right application depending on the doc-type (something like the start-command under windows)?

ex.

start abc.txt => open an editor with the text
start http://www.abc.com => open a browser with the url
start mailto:xyz@abc.com => open an email-client with the mailaddress

thx
oliver



I don't know something about that, but I think it schouldn't be much work to write a script (in bash?) that looks on the doc-type and executes the dependig programm.
 The question is, for what do you need something like that?

that was not the question!

does exist any competent answer?

thx
oliver




Reply to: