delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/24/05:01:44

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: The Beauty of Cygstart
Date: Fri, 24 Mar 2006 10:01:01 +0000 (UTC)
Lines: 25
Message-ID: <Xns979065E51F443zzappergmailcom@80.91.229.5>
User-Agent: Xnews/5.04.25
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019