delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/14/16:09:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: Converting Dos Slashes to Unix Slashes
Date: Sun, 14 Mar 2004 21:09:06 +0000
Lines: 36
Message-ID: <tph950l2l607bg17idbhgg1igqgpn85grb@4ax.com>
References: <Pine DOT GSO DOT 4 DOT 56 DOT 0403141521540 DOT 6733 AT slinky DOT cs DOT nyu DOT edu> <NGBBLLIAMFLGJEOAJCCEMEELDJAA DOT garbage_collector AT telia DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com
X-Newsreader: Forte Free Agent 1.93/32.576 English (American)

On Sun, 14 Mar 2004 21:52:24 +0100,  wrote:

>> From: Igor Pechtchanski
>> On Sun, 14 Mar 2004, zzapper wrote:
>> 
>> > From
>> >   man cygpath

>> #!/bin/sh
>> # wexp
>> # description : Launch Explorer with correct "Windows" path
>> explorer "$(cygpath -w "${1:-.}")"
>
>Even simpler:
>
>$ cygstart /
>
That's cool (both solutions)

I've done a variant to launch Excel (see below), but I can't get the
same thing to work with MsAccess I KNOW there's something odd about
how MSAccess finds files can anyone help??


#!/bin/sh
# wxls
# description : Launch Excel with correct "Windows" path
XPATH="$(cygpath -w "${1}")";
c:/program\ files/Microsoft\ Office/Office10/EXCEL.EXE $XPATH &

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim 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