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] |
On 2006-10-28, Buchbinder, Barry (NIH/NIAID) [E] wrote: > From: Gary Johnson; Sent: Friday, October 27, 2006 11:44 PM > > I am trying to pass Windows path names from a Windows batch file > > to a Cygwin bash script. I have found a solution using Windows > > environment variable substitution to replace \s with /s before > > passing the name to bash, but I cannot figure out how to pass > > the name without that replacement. The problem is with names of > > the form > > > > "\\host\user\file with spaces"
Exhibit A: C:\>set CYGWIN=noglob C:\>\cygwin\bin\echo "\\host\share\file with spaces" \\host\share\file with spaces
Exhibit B: C:\>set CYGWIN=glob C:\>\cygwin\bin\echo "\\host\share\file with spaces" \host\share\file with spaces
HTH, Lev
-- 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] |