Mail Archives: djgpp/1997/03/02/10:43:05
On 2 Mar 1997 02:00:43 GMT, gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
wrote:
>Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) wrote:
>
>: Fun Fact: Laborious ten minute reboots are not needed when modifying
>: autoexec.bat. Instead, change the file, then enter the same lines at the
>: dos prompt. I.e. set path = %PATH%;C:\DJGPP\BIN and Set
>: djgpp=C:\DJGPP\DJGPP.ENV. Then go ahead and run djgpp. Unfortunately, the
>: same is not true of config.sys.
>
>No, that doesn't work; MS-DOS's COMMAND.COM doesn't expand %PATH%
>correctly if you type it at the prompt. It only works in batch files.
My method is to have two batch files, sysinit.bat and sysvars.bat.
sysinit.bat runs hardware configuration programs (not TSRs), and calls
sysvars, which sets the environment up. AUTOEXEC.BAT invokes
sysinit.bat.
If I change the mixer settings on my sound card, I type sysinit to
make it so. If I change the path, I type sysvars. No problem!
ABW
--
"Simply drag your mother in law's cellphone number from the
Address Book to the Laser Satellite icon, and the Targeting
Wizard will locate her. Then follow the onscreen prompts for
gigawattage and dispersion pattern..."
(Windows for Early Warning and Defence User's manual P385)
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>
- Raw text -