launch windows program from shell according to its extension

Lev Bishop lev.bishop@gmail.com
Wed Jun 8 16:02:00 GMT 2005


On 08/06/05, zzapper wrote:

> Slightly improved to ignore directories (and assuming that Windows files always have an extension)
> cygstart "$(/bin/ls -t *.* | head -1)"

why not
cygstart "$(/bin/ls -t . | head -1)"
?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list