Mail Archives: djgpp/2001/05/07/14:30:30
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> On Mon, 7 May 2001, Tim Van Holder wrote:
> > Unfortunately, it isn't quite so straightforward. It's a separate
> > application (msconfig.exe) that's not really advertised
>
> Then I think we should improve setdjgpp.bat a bit and advertise that as
> the recommended solution for Windows ME (via the "CMD line" property of
> the DOS box).
How about this as a general solution: We have a program setup.exe which
is installed to c:\djgpp from djdev*.zip.
The install instructions go like this:
In Windows Explorer, navigate to the directory where you unzipped djgpp
and double-click on the file "setup.exe". This will create a file in
the same directory called "djgpp.bat". Right-click on the file
"djgpp.bat", select "Copy", then minimise all windows, right-click on
the desktop and select "Paste Shortcut". This will create a new icon
on the desktop, which you can use to run djgpp with the correct
environment settings.
The choice of filename "setup.exe", is deliberate. It's what a user who
can't be bothered to read the docs might naturally run. As an exit
message it can print instructions to install the shortcut, and to Read
The README.1ST File.
AFAICT, the program setup.exe would be quite trivial. Apart from a few
sanity checks, all it needs to do is extract the path from argv[0] and
create djgpp.bat from a template. I can write some code for this if you
think it's a workable solution.
BTW, I don't use Windows ME so I am assuming this would work there too.
I have something like this in mind for the template:
@echo off
if not .%DJGPP%==. goto end
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
command.com /e:2000
:end
It would be nice too if the batch file could also be made callable from
autoexec.bat to set PATH and DJGPP, so we cater for DOS-only installation
too. But hey, lets not get carried away right. ;-)
- Raw text -