ProblemYou have an older DOS-based application that you want to run, but it requires its own customized Autoexec.bat and Config.sys files. SolutionThe operating environment for DOS programs are set by the Config.sys and Autoexec.bat files. Windows lets you create fine-tuned, customized environments for each separate DOS program by building individual Config.sys and Autoexec.bat files for each. To do so:
Figure 4-8. Edit a DOS file's PIF settings to create its ideal operating environmentDiscussionConfig.sys and Autoexec.bat files are used to create customized environments for DOS programs to run. Typically, an Autoexec.bat file automatically runs a series of commands, while Config.sys sets environment variables, defines path, and contains other, similar settings, such as how to handle memory. For example, a Config.sys file might look like this: DEVICE=C:\WINDOWS\HIMEM.SYS DOS=HIGH,UMB DEVICE=C:\WINDOWS\EMM386.EXE NOEMS FILES=30 STACKS=0,0 BUFFERS=20 DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS DEVICEHIGH=C:\MTMCDAI.SYS /D:123 See AlsoMS KB 314106, "Troubleshooting MS-DOS-based programs in Windows XP." For help in running DOS-based games on Windows XP, see http://www.longhighway.com/sandbox/xp.html. |