[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> wrote:

> 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.]

see $filename
edit $filename
compose $filename
print $filename

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: