home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20206 < prev    next >
Encoding:
Text File  |  1993-01-26  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!bogus.sura.net!udel!news.udel.edu!ravel.udel.edu!brad
  3. From: brad@ravel.udel.edu (Brad Cain)
  4. Subject: Accessing DOS Environment w/MSC
  5. Message-ID: <C1G81B.KII@news.udel.edu>
  6. Sender: usenet@news.udel.edu
  7. Nntp-Posting-Host: ravel.udel.edu
  8. Organization: University of Delaware
  9. Date: Tue, 26 Jan 1993 06:43:59 GMT
  10. Lines: 19
  11.  
  12. I need to access the dos enviroment in a program that i'm writing.
  13. I am using microsoft C 5.1, and am aware of the putenv and getenv
  14. commands... however, i need to access the 'real' dos enviroment,
  15. not the copy of the environment that is created every time my
  16. program is run.  i assume that this involves a great deal of
  17. low-level poking around, but if anyone has done this, could you
  18. please e-mail me some source.   (i need to be able to read
  19. the env, and insert into it)
  20.  
  21. thanks
  22. brad cain
  23.  
  24. brad@ravel.udel.edu
  25.  
  26. -- 
  27. ****************************************************************************
  28. brad@bach.udel.edu             Brad Cain                    N3NAF
  29. cain@snow-white.ee.udel.edu    University of Delaware Electrical Engineering
  30. cain@freezer.cns.udel.edu      "Blah, blah, blah"                   alt.blah 
  31.