home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / desqview / dv2_dos3.arc / DV2_DOS3.ENV
Encoding:
Text File  |  1987-12-11  |  1.2 KB  |  34 lines

  1. TO GET MORE ENVIRONMENT SPACE IN A DESQVIEW WINDOW UNDER DOS V3
  2.  
  3. I'm running MS-DOS 3.20 and DESQview 2.00.  To get adequate
  4. environment space in a DOS window, I specify the following program
  5. options:
  6.  
  7.         Program...: COMMAND                     <- note: no .COM!
  8.         Parameters: /E:384 /C C:\DV\SETS.BAT
  9.         Directory.: C:\
  10.         Options:
  11.            Close on exit to DOS.........: [Y]
  12.  
  13. Of course you should tailor the /E parameter to your flavor of DOS to
  14. give you the environment space you need.  (Note that /E in Version
  15. 3.20 specifies space in *bytes*, whereas in prior Versions 3.xx it
  16. specifies space in (16-byte) *paragraphs*.)
  17.  
  18. The contents of my C:\DV\SETS.BAT:
  19.  
  20.         echo off
  21.         prompt $p $g            <- or whatever you like
  22.         set                     <- multiple set statements, etc.
  23.         set
  24.         ...
  25.         command.com             <- gives you the prompt
  26.  
  27. The result is a COMMAND.COM prompt.  The window closes when you type
  28. "exit".
  29.  
  30. I use the same method to get adequate environment space when running
  31. an application program that needs a number of environment variables,
  32. using a unique batch file with "command.com" replaced by the
  33. application program.
  34.