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: Stray /c invoking robocopy


Thanks everyone; indeed, I have a /c mount. Sorry for the noise -- in
retrospect, the problem is obvious. I was thinking there was some kind of
weird cmd.exe special case. Sometimes it's hard to keep track of the
interaction of Windows and POSIX command-line conventions.

> -----Original Message-----
> From: Buchbinder, Barry (NIH/NIAID) [E] [mailto:BBuchbinder@niaid.nih.gov]
> Sent: Thursday, July 22, 2010 2:36 PM
> To: cygwin@cygwin.com; 'Daniel Colascione'
> Subject: RE: Stray /c invoking robocopy
> 
> Daniel Colascione sent the following at Thursday, July 22, 2010 5:04 PM
> >
> >Where does the /c come from when I type "robocopy /?"?
> >
> >When I type, at a bash prompt, "robocopy /?", robocopy complains about
> >an invalid parameter #1, "/c".  With switches other than "/?", I don't
> >have a problem.
> 
> Sounds like /cygdrive is mounted as /, which means C: is mounted as /c.
> Then bash interprets ? as the wildcard for a single character and C: is
the first
> drive that shows up.  Try "robocopy '/?'" or "robocopy /\?".
> 
> As an experiment, try "echo /?" at a bash prompt.  You should also see a
line
> that begins "none / cygdrive" in the output of "mount -m".
> 
> - Barry
>   Disclaimer: Statements made herein are not made on behalf of NIAID.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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