# What to put in config.sys and autoexec.bat?

**URL:** <https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434>\
**Category:** Factual Questions\
**Created:** [February 22, 2001, 5:26am UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434 "2001-02-22T05:26:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Homer](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Homer](https://boards.straightdope.com/u/Homer)\
**Post date:** [February 22, 2001, 5:26am UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434/1 "2001-02-22T05:26:12Z")

</div>

I have some old DOS games that I’d like to play, but when I try to run them, they want, nay, demand DOS.

Okay, so I’ve patched WinME to un-hide DOS. Now I need help scripting config.sys and autoexec.bats for the game.

I tried searching online, and all the pages were “How to run a DOS game in Win9x” which doesn’t suit my needs, as Win9x had pre-made config.sys and autoexec.bats to edit. I need to build one from scratch.

Can someone either please mail me a generic copy of these files, or give me directions on how to create my own?

Thanks.

–Tim

---

<div class="post-metadata">

**Author:** ![Astroboy14](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Astroboy14](https://boards.straightdope.com/u/Astroboy14)\
**Post date:** [February 22, 2001, 6:08am UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434/2 "2001-02-22T06:08:10Z")

</div>

Config.sys is on the way… just e-mailed it! The comp I’m on now has the Korean version of Win98, so the autoexec.bat file has a bunch of stuff written in Korean in it, and I assume that will be useless to you…

I’m sure someone will get that off to you soon…🙂

---

<div class="post-metadata">

**Author:** ![Homer](https://avatars.discourse-cdn.com/v4/letter/h/df788c/32.png) [@Homer](https://boards.straightdope.com/u/Homer)\
**Post date:** [February 22, 2001, 6:22am UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434/3 "2001-02-22T06:22:25Z")

</div>

Thanks buddy! I knew I could count on Dopers.

I was unsure if this was MPSIMS or GQ, BTW, but I figured it was GQ enough, y’know? 😉

–Tim

---

<div class="post-metadata">

**Author:** ![erislover](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@erislover](https://boards.straightdope.com/u/erislover)\
**Post date:** [February 22, 2001, 6:26am UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434/4 "2001-02-22T06:26:32Z")

</div>

autoexec.bat might prove unnecessary since it deals with setting driver memory and stuff which windows handles on its own.

Otherwise you can use autoexec to run files on start-up.

---

<div class="post-metadata">

**Author:** ![xizor](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/xizor/32/102_2.png) [@xizor](https://boards.straightdope.com/u/xizor)\
**Post date:** [February 22, 2001, 5:45pm UTC](https://boards.straightdope.com/t/what-to-put-in-config-sys-and-autoexec-bat/55434/5 "2001-02-22T17:45:59Z")

</div>

If your game does not need any environment variables set, then you can get away without it. The only thing it might need would be a path statement. And you could create a 1 line autoexec file that just said:  
set path = c:\gamedirectory
