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: Re: need help with bash -c <command> with cygpath


> 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 the leading slash is getting removed on UNC paths.  
I think i'm going to have to sed it.








--
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]