Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!eagle.wesleyan.edu!emccall From: emccall@eagle.wesleyan.edu Newsgroups: comp.sys.ibm.pc.misc Subject: Modifying DOS environment space. Message-ID: <1990Dec2.153704.36357@eagle.wesleyan.edu> Date: 2 Dec 90 20:37:03 GMT Organization: Wesleyan University Computing Center Lines: 12 I've written a program to directly modify the parent environment space in DOS (COMMAND.COM's evironment), but I need to know more about it. Is there a size field that keeps track of the total size of the environment, or is size marked only by the NUL-NUL pair at the end or the string space? I've written the program to truncate certain entries, and I need to know if I should move the rest of the environment up, or if there is a size field I also must modify. If you have information (DOS tech. ref. manual, for instance), *please* respond (preferably by e-mail). Thanks!