This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

The Beauty of Cygstart


Hi,
Cygstart is one of the marvels of Cygwin as it helps bridge Windows apps 
and *nix. Specifically Cygstart understands Windows File Associations 
(amongst other things)

So you can type say

> cygstart finances.doc

And this will open the file in MSWord or whatever

I use the following "typing saving" function

function cs() {cygstart *$1*}

> cs fin

As often the file I want is the most recent this function is also useful

function csn() {cygstart "$(/bin/ls -t *.* | head -1)"}

zzapper

-- 
http://successtheory.com/ 100 FREE Success and Self-Improvement Tips


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]