X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org From: Rajesh George CetusTech To: Subject: CygWin backslash variable - stores dos based filename with path Date: Thu, 6 Aug 2009 01:43:09 +0530 Message-ID: <4a79e7dd.21d7720a.78e4.60fc@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 Hi All, I am very new to CygWin, but having experience in Solaris, RedHat linux, Oracle linux and Microsoft Windows. My issue: Am running one batch job from Windows, which needs to execute one .sh file using CygWin and the batch file passes the filename with path (windows/DOS style) to the .sh shell. Shell of cygwin removing all the '\' s and made the file path as a different word. For example, "e:\test\testcomn\util\jre\1.1.8\bin\jre.exe" become "e:testtestcomnutiljre1.1.8binjre.exe" and I got "command not found" error. In this case, am not allowed to edit the any bat/sh files. But I can modify the CygWin settings. Please advice, How to make CygWin to convert automatically file path from "e:\test\testcomn\util\jre\1.1.8\bin\jre.exe" to "e:test/testcomn/util/jre/1.1.8/bin/jre.exe" Regards Rajesh George +91 9833454904 | rajesh DOT george AT cetustech DOT com www.cetustech.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple