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]

Re: Converting Dos Slashes to Unix Slashes


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/


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