RE: Re: need help with bash -c with cygpath

2008-01-11 Thread Dave Korn
On 11 January 2008 15:51, Phil Betts wrote: > If you absolutely MUST have backslashes, from cmd.exe, you need to > double each backslash: > > H:\>C:\cygwin\bin\bash -v -c 'UNC_PATH\\Dir' > That doesn't work for me. Adding the '-x' option to bash is very handy for debugging these sorts of

Re: Re: need help with bash -c with cygpath

2008-01-11 Thread Jay
> H:\>C:\cygwin\bin\bash -v -c 'UNC_PATH\\Dir' > > (actually only the first really needs to be doubled, because \ has > no special meaning if it's followed by a letter) > > Phil > > I'm getting the path from the registry via a right click menu and passing it into the bash -c command. But

RE: Re: need help with bash -c with cygpath

2008-01-11 Thread Phil Betts
Jay wrote on Friday, January 11, 2008 3:14 PM:: >> That's still somewhat wasteful, starting bash just to get a vim >> alias - why not use the full name gvim, and bypass the bash process >> to begin with? > > you right, i'm going to remove it, thanks. > > My main problem now is that for some rea