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

Tom Rodman cygzw@trodman.com
Fri Aug 29 09:14:00 GMT 2008


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

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

--
thanks,
Tom

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