X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org X-IronPortListener: Outbound_SMTP From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" , "'Daniel Colascione'" Date: Thu, 22 Jul 2010 17:36:07 -0400 Subject: RE: Stray /c invoking robocopy Message-ID: <0105D5C1E0353146B1B222348B0411A209452564D1@NIHMLBX02.nih.gov> References: <000001cb29e1$65881a70$30984f50$@gmail.com> In-Reply-To: <000001cb29e1$65881a70$30984f50$@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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". - 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