This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Transmitting PATH-like variables to DOS programs


Hi there,

I'm using tcsh on my Win2k box, and I do a lot of development in Java. 
As a result, I use CLASSPATH a lot.

Now, with PATH, Cygwin automatically converts the value it inherits from 
the Windows environment to Unix format, and also converts it back to 
Windows format when invoking a Windows *.exe or *.bat file. I find this 
especially useful when I can _update_ my PATH in a Cygwin shell script, 
in Unix format, and then have the updated value inherited by a Windows 
program that I invoke from the script.

I would like this to happen with other variables as well -- notably, my 
Java CLASSPATH.

Does Cygwin have a setup file somewhere, where the names of PATH-like 
variables are stored? Or is there some other mechanism whereby I can 
change this?

Thans a lot and peace,

Ihab A.B. Awad
Scimagix, Inc.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]