X-Spam-Check-By: sourceware.org Message-ID: <443B7A88.C98E6498@st.com> Date: Tue, 11 Apr 2006 11:44:40 +0200 From: Omar BELKHODJA MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: ($shell cd) result different if including cygwin/bin directory in path Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-O-Spoofed: Not Scanned X-O-General-Status: No X-O-Spam1-Status: Not Scanned X-O-Spam2-Status: Not Scanned X-O-URL-Status: Not Scanned X-O-Virus1-Status: No X-O-Virus2-Status: Not Scanned X-O-Virus3-Status: No X-O-Virus4-Status: No X-O-Virus5-Status: Not Scanned X-O-Image-Status: Not Scanned X-O-Attach-Status: Not Scanned X-SpheriQ-Ver: 4.2.01 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 I want to use the unix commands from an MS-DOS command prompt (grep, find...) and for that I have included the cygwin/bin directory in my path. This is OK for using grep, find... but this creates me the following problem. I am using a some kind version of gmake.exe that can work alone (without any cygwin dll). This gmake.exe if executing a makefile with the command ($shell cd), returns the current directory from an MS-DOS command prompt, but if I add the cygwin/bin directory to the path the ($shell cd) result is an empty string, as if it was executed from a cygwin/unix environment.Is there any solution that doesn't need a change in my makefile ? Thanks -- 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/