home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10681 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!pilot.njin.net!gould
  2. From: gould@pilot.njin.net (Brian Jay Gould)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: How to set env var within a win prog?
  5. Keywords: windows environment variable
  6. Message-ID: <Nov.16.22.05.16.1992.2913@pilot.njin.net>
  7. Date: 17 Nov 92 03:05:16 GMT
  8. Organization: Rutgers Univ., New Brunswick, N.J.
  9. Lines: 24
  10.  
  11. I'm hoping someone could help me figure this out...
  12.  
  13. I need to set an environment variable from within a windows
  14. program so that the new value replaces the original value
  15. set before windows was started.  Once the new value is 
  16. placed, it has to remain in effect even after the setting
  17. program terminates.
  18.  
  19. I know this must be possible.  Novell has a Windows version
  20. of Logon and "logon" has to read the logon script "set"
  21. commands.  How is this done?
  22.  
  23. Even if there are dos xx version specific structures, thats 
  24. fine with me.  Please respond via e-mail.
  25.  
  26. Thanks.
  27. -- 
  28. --
  29. Any disclaimers made for me, by me, or about me - may or may not accurately
  30. reflect my failure to be reflecting the opinions of myself or anyone else.
  31. ********************************************
  32. *  Brian Jay Gould - gould@pilot.njin.net  *
  33. *                    609-799-2706          *
  34. ********************************************
  35.