www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/14/11:36:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <20503937.post@talk.nabble.com>
Date: Fri, 14 Nov 2008 08:35:55 -0800 (PST)
From: "R. Lewis" <rlewis AT juniper DOT com>
To: cygwin AT cygwin DOT com
Subject: Is it possible to convert from dos to unix path and back?
MIME-Version: 1.0
X-Nabble-From: rlewis AT juniper DOT com
X-IsSubscribed: yes
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,

Some of the commands we "launch" from a cygwin bash shell only understand
the Dos path convention since they are native window's executables.  Is
there a "conversion" command I can call to go from a Unix path to a Dos path
and back?

Example:
     Cygwin path: /cygdrive/c/'Program Files'/Prod123/something.dat   

     After converting it becomes -> Dos path: c:\Program
Files\Prod123\something.dat

Thanks,
Rick
    
-- 
View this message in context: http://www.nabble.com/Is-it-possible-to-convert-from-dos-to-unix-path-and-back--tp20503937p20503937.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019