Appendix B. DOS Environment Variables

Understanding the DOS Environment

The environment is a small area in memory that DOS sets aside for storing text variables. Normally, you set the size of the master environment area with a SHELL = statement in your CONFIG.SYS file. The default size of the environment is 256 bytes, but you almost certainly want to increase this size as you begin to use environment variables to automate your daily tasks.

Each variable in the environment consists of two parts: the name of the variable, which DOS stores in uppercase characters, and the contents of the variable, which is the text associated ...

Get Special Edition Using MS-DOS® 6.22, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.