From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP and Cygwin Date: 26 Feb 1997 01:55:24 GMT Organization: CRL Dialup Internet Access Lines: 25 Message-ID: <01bc2388$6b6a8a40$0f02000a@weiqigao> References: NNTP-Posting-Host: crl7.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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