delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/28/17:36:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48B71A18.2050609@cygwin.com>
Date: Thu, 28 Aug 2008 17:35:20 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Lightning/0.8 Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash -c '$COMSPEC' # worked sometime b4 cygwin 1.5.24-2
References: <200808241647 DOT m7OGlULH030688 AT tigris DOT pounder DOT sol DOT net> <48B1BA7F DOT 4080300 AT cygwin DOT com> <48B70CBF DOT 7080606 AT x-ray DOT at> <200808282103 DOT m7SL3plf001547 AT tigris DOT pounder DOT sol DOT net>
In-Reply-To: <200808282103.m7SL3plf001547@tigris.pounder.sol.net>
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

Tom Rodman wrote:
> On Thu 8/28/08 22:38 +0200 Reini Urban wrote:
>> Larry Hall (Cygwin) schrieb:
>>> There hasn't been any effort to support Windows paths in Cygwin for a long
>>> time.  That doesn't mean it wouldn't have worked sometime in the past.  
> 
> it worked in cygwin 1.5.19-4

A nice long ride it had then. ;-)

>>> It's just that doing so is not a goal of this project.  Use the POSIX form of 
>>> the path and will work nicely for you - /cygdrive/d/winnt/system32/cmd.exe.  If
>>> you need to use COMSPEC, run it through 'cygpath' to convert it to a POSIX
>>> path.
>> $ cygstart $COMSPEC
>> is an easy alternative.
> 
> Thanks, 'cygstart "$COMSPEC"'  - I see, that starts a new console session
> 
> --
> Will this syntax remain supported?:
> 
>   cd "$WINDIR"
> 
> Or should I cure my habit of pasting quote protected windows
> paths into (interactive bash ) 'cd' commands?

Probably.  But you can feed your habit for as long as Cygwin lets
you. ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


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