RE: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-27 Thread Schaible, Jörg
Hi Randall, Completely incorrect. I use cygpath to convert CLASSPATHs all the time and it works just fine. Syntactically, they're just like PATH (on either side of the Unix / Windows divide) and cygpath doesn't care what they're used for, only what lexical / syntactic structure they

RE: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-26 Thread Schaible, Jörg
Hi Ralf, 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 ô??a? [...] My questions: 1) is there a way to see an

RE: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-26 Thread Randall R Schulz
Jörg, OK. My turn to correct some misconceptions... At 00:18 2002-09-26, Schaible, Jörg wrote: Hi Ralf, 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:

Re: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-25 Thread Randall R Schulz
Ralf, You're trying to convert a PATH (or PATH-like) variable, not a single file or directory name. Include the -p option. Randall Schulz Mountain View, CA USA At 08:49 2002-09-25, Ralf Hauser wrote: Hi, The following problem occurred to me: 1) In my win2k, I set (a long) Java CLASSPATH 2)

RE: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-25 Thread Joshua Daniel Franklin
Looks like you'll have to take Chris' advice and at least look at the cygpath source. Does it work with a shorter CLASSPATH? Oh, and follow Randy's advice about the --path option, too. --- Ralf Hauser [EMAIL PROTECTED] wrote: Thx! Unfortunately still only the same garbage in the mylog file.

Re: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-25 Thread Ralf Hauser
Randall, Thanks, the -p option solved the problem. Rgds r. Randall R Schulz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ralf, You're trying to convert a PATH (or PATH-like) variable, not a single file or directory name. Include the -p option. --