Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!matt.ksu.ksu.edu!droufa From: droufa@matt.ksu.ksu.edu (Donald J Roufa) Newsgroups: comp.windows.ms Subject: Batch files and environment space Summary: Running a batch file in WIN3 386enhanced mode Keywords: batch environment Message-ID: <1990Dec24.144159.13500@maverick.ksu.ksu.edu> Date: 24 Dec 90 14:41:59 GMT Sender: news@maverick.ksu.ksu.edu (The News Guru) Organization: Kansas State University Lines: 18 Help!!$% When I run a batch file to envoke a non-Windows application which must set an environment variable, I find that Windows ver. 3 spawns a shell with only 160 bytes of environment space, despite the fact that my config.sys file sets the original environment space to 512 bytes. As a consequence, the non-Windows application is unable to run for lack of environment space. The only solution I have found so far is to reset the Path and other non-related environment variables within the batch file being spawned, so that the new application will find some room within the 160 bytes. Isn't there some way to tell Windows to run batch files with more environment space available to them? -- Don Roufa E-Mail: DROUFA@MATT.KSU.KSU.EDU // | / /--- | | Division of Biology DROUFA@KSUVM.KSU.EDU // |/ |__ | | Kansas State Univ. Tel: (913) 532-6641 // |\ | | | Manhattan, KS 66506 Fax: (913) 532-6653 // | \ \__/ \__/