delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/01/16:47:13

From: gt6801a AT prism DOT gatech DOT edu (Wilson Z. Shou)
Newsgroups: comp.os.msdos.djgpp
Subject: trouble setting path and env
Date: 1 May 1998 15:49:50 -0400
Organization: Georgia Institute of Technology
Message-ID: <6id90u$e7m@acmez.gatech.edu>
NNTP-Posting-Host: gt6801a AT acmez-prism DOT gatech DOT edu
Lines: 120
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

This is probably an old question but I couldn't find an answer in the archive to my specific question so
I posted this one.

I installed (unzipped) the djgpp in f:\djgpp (f is just a partition of the harddrive). I modified the
autoexec.bat file and reboot the system. But it looks like the path and env were not correctly set. I
included my autoexec.bat file here for your information. Thanks a lot in advance.

REM 
C:\WIN386\net start
goto %config%

V 

:Default
@echo off
LH /L:0;1,42384 /S C:\DOS62\SMARTDRV.EXE
c:\norton\image.exe c: d:
PATH C:\DOS62;c:\malvern;C:\;C:\XTGOLD;C:\123\;C:\NORTON;C:\MOUSE;D:\WP60;D:\WP60DOS
PROMPT $P$G
LH /L:1,10112 mouse
menu 123
m.bat
goto end

:Windows(Normal)

LH /L:0;1,42384 /S C:\dos62\SMARTDRV.EXE
@ECHO OFF
PATH
C:\DOS62;c:\aldus;d:\pr2us;D:\GMKW;C:\;C:\WIN386;C:\XTGOLD;C:\NORTON;C:\QMSJS;C:\MOUSE;d:\wp60;C:\TEMP
c:\norton\image.exe c: d:
set PATH=F:\DJGPP\BIN;%PATH% 
set DJGPP=F:\DJGPP\DJGPP.ENV

SET GMKW5=D:\GMKW
SET TEMP=C:\TEMP
VERIFY ON
PROMPT $P$G
C:\DOS62\SHARE.EXE /L:500 /F:5100
LH /L:1,10112 mouse
CD\WIN386
win
goto end

:HighResWindows(1024)
LH /L:0;1,42384 /S C:\dos62\SMARTDRV.EXE
@ECHO OFF
PATH C:\DOS62;D:\GMKW;C:\;C:\WIN386;C:\XTGOLD;C:\NORTON;C:\QMSJS;C:\MOUSE;d:\wp60;C:\TEMP
c:\norton\image.exe c: d:
SET GMKW5=D:\GMKW
SET TEMP=C:\TEMP
VERIFY ON
PROMPT $P$G
C:\DOS62\share.exe /l:500 /f:5100
LH /L:1,10112 mouse
CD\WIN386
win1024.bat
goto end

:LowResWindows(640)
LH /L:0;1,42384 /S C:\dos62\SMARTDRV.EXE
@ECHO OFF
PATH C:\DOS62;D:\GMKW;C:\;C:\WIN386;C:\XTGOLD;C:\NORTON;C:\QMSJS;C:\MOUSE;d:\wp60;C:\TEMP;
c:\norton\image.exe c: d:
SET GMKW5=D:\GMKW
SET TEMP=C:\TEMP
VERIFY ON
PROMPT $P$G
C:\DOS62\share.exe /l:500 /f:5100
LH /L:1,10112 mouse
CD\WIN386
win640c.bat
goto end

:Simion
LH /L:0;2,42384 /S C:\DOS62\SMARTDRV.EXE
c:\norton\image.exe
@ECHO OFF
PATH C:\DOS62;C:\;C:\XTGOLD;C:\NORTON;C:\MOUSE;
PROMPT $P$G
c:\norton\image.exe c: d:
LH /L:2,10112 mouse
LH /L:1,24048 C:\DOS62\mode com1:96,n,8,1,p
d:
cd\simion
vsim
goto end

:Speedisk
@ECHO OFF
PATH C:\DOS62;C:\;C:\XTGOLD;C:\NORTON;C:\MOUSE
SET LMOUSE=C:\MOUSE
C:\MOUSE\mouse.exe
SET SYMANTEC=C:\SYMANTEC
SET NU=C:\NORTON
PROMPT $P$G
cls
cd c:\norton
be window 1 1 24 79 blue blue
be window 5 12 19 65 white red zoom shadow
be rowcol 7 21 "IF YOU DON'T KNOW WHAT YOU ARE DOING,"
BE ROWCOL 9 34 "BEBOOT NOW!"
BE ROWCOL 11 24 "OR SERIOUS DAMAGE COULD RESULT!"
BE ROWCOL 16 28 "Press (C) to continue"
BE ROWCOL 23 5
be ask "continue",c
cls
c:\norton\speedisk.exe
goto end

:end

REM 


I put the set path and set env in normal windows option, which I usually use. And my os is windows for
workgroup 3.11 and dos6.2. I'm wondering if it's the norton utility is doing something funny or the djgpp
has to be on the c: drive. Thanks very much in advance for your help and have a nice day.


- Raw text -


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