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

Re: how to execute a data-file's preferred app from the cmd-line?



* David H. Cook <David.Hubert.Cook@gmail.com> [2006-06-22 07:47]:

> 
> Win-XP has a builtin cmd-line cmd called 'start'.  For example, by
> passing a .ZIP file to 'start', the file-associations meta-data is
> consulted and the preferred application (i.e. the 'OPENs-with' defn) is
> launched, being passed the target file to open.
> 
> So, my question is:  Is there an equivalent cmd for 'start' (e.g. for
> KDE)?
> [Yes, I KNOW I can achieve this from a GUI-app like Konqueror.  But, I
> want to launch a data-file from a cmd-window such as Konsole.]
 
/etc/mime.types
/etc/mailcap

see parses that information

HTH Martin
-- 
<maxx@debian.org> ---- Debian GNU/Linux - The Universal Operating System
<Tolimar> Alfie: Nein, die CDs aus dem letzten Jahr waren noch nicht
	dual boot bar.
<Tolimar> (Nach belieben bitte bindestriche einsetzen und leerzeichen
	löschen)
<HE> Tolimar: Nein,-dieCDsaus-dem-letztenJahrwaren-noch-nicht-dualboot-
	bar?



Reply to: