X-Recipient: archive-cygwin@delorie.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@cygwin.com>
Reply-To: cygwin@cygwin.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@cygwin.com
Subject: Re: bash -c '$COMSPEC' # worked sometime b4 cygwin 1.5.24-2
References: <200808241647.m7OGlULH030688@tigris.pounder.sol.net> <48B1BA7F.4080300@cygwin.com> <48B70CBF.7080606@x-ray.at> <200808282103.m7SL3plf001547@tigris.pounder.sol.net>
In-Reply-To: <200808282103.m7SL3plf001547@tigris.pounder.sol.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

