Article View: comp.os.msdos.programmer
Article #7617Setting DOS environment from C program
From: Edward Quillen
Date: Tue, 12 Jan 1993 16:33
Date: Tue, 12 Jan 1993 16:33
18 lines
1122 bytes
1122 bytes
I know this has been harped on a million times before but... I have pretty good code that handles setting the DOS environment but I noticed it doesn't work when the program is run in the AUTOEXEC.BAT in DOS 5.0, but it does work with 4DOS. The code scanes down the memory allocation chain to find the block owned by command.com. Could some one send me code that also works in the AUTOEXEC.BAT? THANKS!!!!! +++++++++++++++++++++++++++++++++++++++++++++++++ +++ ED (Edward Quillen) (517) 336-1293 +++ +++ Vet Teaching Hosp. System Admin. +++ +++ Email: quillen@cps.msu.edu +++ +++++++++++++++++++++++++++++++++++++++++++++++++
Technical Details
Message-ID:
<eoq.58.0@vthnw.cvm.msu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!vthnw.cvm.msu.edu!eoqShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!vthnw.cvm.msu.edu!eoq From: eoq@vthnw.cvm.msu.edu (Edward Quillen) Newsgroups: comp.os.msdos.programmer Subject: Setting DOS environment from C program Message-ID: <eoq.58.0@vthnw.cvm.msu.edu> Date: 12 Jan 93 16:33:26 GMT Organization: Veterinary Teaching Hospital, Michigan State Univ. Lines: 18 NNTP-Posting-Host: cgpc0008.cvm.msu.edu