From a cygwin command line, any way to run a normal file using the default Windows program for the file extension?
cygwin.t.bnelson@xoxy.net
cygwin.t.bnelson@xoxy.net
Tue Aug 24 20:20:00 GMT 2010
Is there a way to run a non-exe file so that the default program for
the file's extension is used to open the file? If I browse to the
file in the Windows File Explorer I can double click the file and
Windows will automatically start the program for that given file type.
For instance, I can click on a .xls file and Windows will
automatically start Excel and have it open that file. Is there a way
to do something similar from a cygwin command line? That is, I'd like
to be able to do something like this:
cygwin> cd /tmp
cygwin> ls
a.xls
cygwin> runfile a.xls
and have it automatically look in the File Types listing of File
Explorer and start the associated program to open the file.
Thanks!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list