| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <39CBDF8F.51E4338F@veritas.com> |
| Date: | Fri, 22 Sep 2000 15:39:11 -0700 |
| From: | Bob McGowan <rmcgowan AT veritas DOT com> |
| Organization: | VERITAS Software |
| X-Mailer: | Mozilla 4.73 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Roger Talkov <rtalkov AT appworx DOT com> |
| CC: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: pwd & windows |
| References: | <39CBD8E2 DOT 7F1146D9 AT appworx DOT com> |
cygpath -w `pwd` or cygpath -w $PWD will give the Windows path of the current directory. Change -w to -u and give it a windows path, it will print the cygwin/unix style path. Roger Talkov wrote: > > If I use `pwd` in a shell script or makefile & pass that to a non-cygwin > tool, like javac, it doesn't know what to do with /cygdrive/e/project . > It would be extremely usefull to have a variant of pwd that would use > the windows drive letter format (e:/project). > > -- > Roger Talkov > > rtalkov AT AppWorx DOT com > 425-644-2121 x 135 > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |