www.delorie.com/archives/browse.cgi | search |
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 <rajesh DOT george AT cetustech DOT com> |
To: | <cygwin AT cygwin DOT com> |
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 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |