Path: utzoo!attcan!uunet!microsoft!steveha From: steveha@microsoft.UUCP (Steve Hastings) Newsgroups: comp.windows.ms Subject: Re: Increasing Environment Space Message-ID: <55654@microsoft.UUCP> Date: 5 Jul 90 16:19:03 GMT References: <90183.141937SLVQC@CUNYVM.BITNET> Reply-To: steveha@microsoft.UUCP (Steve Hastings) Organization: Microsoft International Products Group Lines: 15 In article <90183.141937SLVQC@CUNYVM.BITNET> SLVQC@CUNYVM (Salvatore Saieva) writes: >Is there a way to tell Windows to start a Non-Windows application >with a larger environment? Any time I run a batch file (from Windows) >that sets environment variables I get `out of environment space' >errors. Make a PIF file for the batch file you want to run, say "FOO.BAT." Inside FOO.PIF, when you specify what to run, instead of saying "FOO.BAT" you should say "COMMAND.COM /E:1024 /C FOO.BAT". Note that when you just specify "FOO.BAT" Windows will run a COMMAND.COM anyway to execute it, so this technique does not cost you anything. -- Steve "I don't speak for Microsoft" Hastings ===^=== ::::: uunet!microsoft!steveha steveha@microsoft.uucp ` \\==|