Path: utzoo!attcan!uunet!odetics!frank From: frank@odetics.com (Frank Merrow) Newsgroups: comp.sys.ibm.pc.misc Subject: DOS Environment Variable Question Message-ID: <1990Oct1.191910.560@odetics.com> Date: 1 Oct 90 19:19:10 GMT Reply-To: frank@odetics.UUCP (Frank Merrow) Distribution: na Organization: Odetics, Inc., Anaheim, CA Lines: 14 Hi All, I wanted to create a MS-DOS environment variable at boot time off the form set TODAY=yymmdd so that other *.BAT files can create backup files and other such things. I looked threw the MS-C manual and found putevn() and getenv(), but they seem to effect the PROGRAM's copy of the environment, while I want to effect "THE" environment. Anyone got a good/easy way to do this? Frank P.S. If not "easy" then there must be a pointer to the DOS enviroment someplace, where is it and how does the structure look?