This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash -c '$COMSPEC' # worked sometime b4 cygwin 1.5.24-2
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 24 Aug 2008 15:46:07 -0400
- Subject: Re: bash -c '$COMSPEC' # worked sometime b4 cygwin 1.5.24-2
- References: <200808241647.m7OGlULH030688@tigris.pounder.sol.net>
- Reply-to: cygwin at cygwin dot com
Tom Rodman wrote:
Greetings:
~ $ date;cygcheck -c cygwin
Sun Aug 24 11:37:36 CDT 2008
Cygwin Package Information
Package Version Status
cygwin 1.5.25-15 OK
~ $ "$COMSPEC"
-bash: D:\WINNT\system32\cmd.exe: command not found
~ $ ls -l "$COMSPEC"
-rwxrwxr-x+ 1 Administrators SYSTEM 236816 Nov 2 2004 D:\WINNT\system32\cmd.exe*
bash will not run a command using a windows path to it anymore.
Sorry for not "keeping up" - I did go through the cygwin
announcements for 2008, but probably need to go back even further.
I will plan on doing this.
When this syntax stopped being supported and why? - not that I object ;->
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'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.
--
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/