Mail Archives: djgpp/1997/02/26/00:30:15
Eli Zaretskii wrote:
>Brian Osman wrote:
>>programs I need to rip out etc. However, I'd also like to
>>experiment with Cygnus' port to do some Windows stuff. Sadly,
>>both need their /bin directories in the path, so I can't do
>>this very easily.
>Arrange a way to switch the setting of PATH and related environment
>variables when you switch from one toolchain to another.
If you use Windows 95, the WINSET.EXE program that's on the CD does the job
nicely: you run WINSET instead of SET for an environment variable in one
DOS window, and the new value is available in any DOS window that you open
subsequently.
Actually, a similar program is available for Windows 3.1 (not that it helps
us here). I got a program called SETW.EXE that comes with its own VxD.
You load the VxD when you start Windows, and then you can call SETW instead
of SET in a DOS window to make the environment variable change "permemant".
--
Weiqi Gao
weiqigao AT crl DOT com
- Raw text -