This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Strange cd/CDPATH behavior
- To: "Erik Nolte" <enolte at campuspipeline dot com>
- Subject: Re: Strange cd/CDPATH behavior
- From: kulack at us dot ibm dot com
- Date: Tue, 26 Sep 2000 12:12:32 -0500
- Cc: <cygwin at sourceware dot cygnus dot com>
> 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