This is the mail archive of the
mailing list for the Cygwin project.
Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
- From: Randall R Schulz <rrschulz at cris dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Sep 2002 09:11:49 -0700
- Subject: Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
You're trying to convert a PATH (or PATH-like) variable, not a single file
or directory name. Include the "-p" option.
Mountain View, CA USA
At 08:49 2002-09-25, Ralf Hauser wrote:
The following problem occurred to me:
1) In my win2k, I set (a long) Java CLASSPATH
2) under cygwin I want to convert it (in my .tcshrc) an it fails. If I do it
on the command line, it looks like the following:
rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH"
1) is there a way to see an error-message from cygpath (a log file or some
way to see stderr if there is any of that)?
2) I did a work-around with assembling the path again in my .tcshrc. This is
not convenient. Any better ideas...?
Many thx in advance and rgds Ralf
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html