This is the mail archive of the
cygwin
mailing list for the Cygwin project.
The Beauty of Cygstart
- From: zzapper <david at tvis dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Mar 2006 10:01:01 +0000 (UTC)
- Subject: 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/