public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: kulack@us.ibm.com
To: "Erik Nolte" <enolte@campuspipeline.com>
Cc: <cygwin@sourceware.cygnus.com>
Subject: Re: Strange cd/CDPATH behavior
Date: Tue, 26 Sep 2000 10:11:00 -0000	[thread overview]
Message-ID: <OFF5B2744E.E9A73F2E-ON86256966.005E7A5D@RCHLAND.IBM.COM> (raw)

> The obvious answer is to stop using DOS style paths with cygwin cd's.
> Unfortunately, what I'm really doing is "cd $SRC_PATH" where SRC_PATH is
> "W:/src".  SRC_PATH must be a DOS style path to keep javac and other
> windows-based software happy (they can't grok paths without drive
letters).

Use cygpath...
>cygpath -u -p c:/
/

In your example, something like:
cd $(cygpath -u -p $SRC_PATH)
would probably work.




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

             reply	other threads:[~2000-09-26 10:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-26 10:11 kulack [this message]
2000-09-26 10:37 ` Erik Nolte
2000-09-26 10:57   ` Chris Faylor
  -- strict thread matches above, loose matches on Subject: below --
2000-09-26 13:16 Earnie Boyd
2000-09-26 16:53 ` Chris Faylor
     [not found]   ` <002b01c02819$1508b700$c4acb018@home.com>
2000-09-26 17:22     ` Chris Faylor
2000-09-26 13:12 Earnie Boyd
2000-09-26 11:25 Bernard Dautrevaux
2000-09-26 11:19 Earnie Boyd
2000-09-26 12:22 ` Erik Nolte
2000-09-26 12:30   ` Chris Faylor
2000-09-26 10:03 Schaible, Joerg
2000-09-26  9:29 Erik Nolte
2000-09-26 10:56 ` Bob McGowan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFF5B2744E.E9A73F2E-ON86256966.005E7A5D@RCHLAND.IBM.COM \
    --to=kulack@us.ibm.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=enolte@campuspipeline.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).