delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
From: | "Daniel Colascione" <dan DOT colascione AT gmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <000001cb29e1$65881a70$30984f50$@gmail.com> <0105D5C1E0353146B1B222348B0411A209452564D1 AT NIHMLBX02 DOT nih DOT gov> |
In-Reply-To: | <0105D5C1E0353146B1B222348B0411A209452564D1@NIHMLBX02.nih.gov> |
Subject: | RE: Stray /c invoking robocopy |
Date: | Thu, 22 Jul 2010 14:48:09 -0700 |
Message-ID: | <000a01cb29e7$93a30630$bae91290$@gmail.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 AT niaid DOT nih DOT gov] > Sent: Thursday, July 22, 2010 2:36 PM > To: cygwin AT cygwin DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |