| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| From: | Barry Kelly <bkelly DOT ie AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Is it possible to convert from dos to unix path and back? |
| Date: | Fri, 14 Nov 2008 16:57:51 +0000 |
| Message-ID: | <5gbrh49t5mp5gj6oea2k20gefv8fbm10lh@4ax.com> |
| References: | <20503937 DOT post AT talk DOT nabble DOT com> |
| In-Reply-To: | <20503937.post@talk.nabble.com> |
| X-Mailer: | Forte Agent 4.2/32.1117 |
| MIME-Version: | 1.0 |
| 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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id mAEGwpwJ024360 |
R. Lewis wrote: > 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 cygpath your/windows/program "$(cygpath -w "/your/path/here")" -- Barry -- http://barrkel.blogspot.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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |