delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/18/10:41:15

Message-ID: <01BE712B.CE571AE0.gdpowell@unity.ncsu.edu>
From: Gary Powell <gdpowell AT unity DOT ncsu DOT edu>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Autoexec solutions for win9*
Date: Thu, 18 Mar 1999 10:40:53 -0500
Organization: NCSU
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello all (Newbies especially),

I keep seeing a lot of questions regarding the autoexec.bat modifications 
and problems with windows, whether it be environment space or other issues. 
 I have a suggestion.

Under windows 9*, create a new shortcut on the desktop and call it command 
(MSDOS Prompt).  You can name this thing "DJGPP compiler" or anything you 
want.  Now, create a batch file that includes the modifications that the 
compiler requires (set path ... and set env etc).  Also make adjustments to 
the working directory to c:\DJGPP or whatever is appropriate.  If you are 
having problems with compiling, then the only changes that are required are 
modifying this batch file (I call mine c.bat and keep it in 
    c:\DJGPP\BIN).  This allows for your usual every dos program setups to 
be used in Autoexec.bat (set Blaster commands etc, I use 
c:\windows\command\doskey.com as well) without the extended attributes 
required for your compiler.

This procedure works particularly well if you happen to have more than one 
DOS compiler that each require their own environment variables set.  I have 
MS FORTRAN and MASM setup with a different MSDOS Prompt/ batch file combo 
as an example.

Hope this helps,

Gary

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019