home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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 +++
- +++++++++++++++++++++++++++++++++++++++++++++++++
-