X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48B1BA7F.4080300@cygwin.com> Date: Sun, 24 Aug 2008 15:46:07 -0400 From: "Larry Hall (Cygwin)" 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> In-Reply-To: <200808241647.m7OGlULH030688@tigris.pounder.sol.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: > 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/