This is the mail archive of the
mailing list for the Cygwin project.
RE: Stray /c invoking robocopy
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, 'Daniel Colascione' <dan dot colascione at gmail dot com>
- Date: Thu, 22 Jul 2010 17:36:07 -0400
- Subject: RE: Stray /c invoking robocopy
- References: <email@example.com>
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".
Disclaimer: Statements made herein are not made on behalf of NIAID.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple