delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/14:35:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B5A01FB.7090504@gmail.com>
Date: Fri, 22 Jan 2010 19:52:27 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1 "Bad Address" when running cmd.exe on 64 bit windows server 2008
References: <dbce23$4hksjl AT dmzms99802 DOT na DOT baesystems DOT com>
In-Reply-To: <dbce23$4hksjl@dmzms99802.na.baesystems.com>
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

On 22/01/2010 19:10, Cooper, Karl (US SSA) wrote:
>> ---- jenniferlee@ wrote:

>>> Administrator AT nc042046 ~ $ cmd.exe /c 'mkdir C:\WINDOWS\temp' -bash:
>>> /cygdrive/c/Windows/system32/cmd.exe: Bad address
>>> 
> I get the same result you do when I use "/c" (lower case c), but the
> command is processed as expected when I use "/C" (upper case C).

  I get the same, and found a different workaround: it works by using "cmd"
instead of "cmd.exe".

    cheers,
      DaveK


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019