bash -c '$COMSPEC' # worked sometime b4 cygwin 1.5.24-2

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Aug 29 09:44:00 GMT 2008


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/



More information about the Cygwin mailing list