DustyShinigami wrote on 2025-11-21, 13:24:So it's been brought to my attention that I shouldn't be modifying the autoexec.bat and config.sys files...? Have I been doing t […]
Show full quote
So it's been brought to my attention that I shouldn't be modifying the autoexec.bat and config.sys files...? Have I been doing things wrong this whole time...? Apparently I should be using a custom PIF file and running commands via DOSSTART?
Could someone shed a bit more light on this as I'm a bit confused as to why I shouldn't modify autoexec and config myself in Windows? I thought this was the right approach, but apparently not. Also, I'm not too familiar with DOSSTART. I'm not even sure I have this file in the root of my C drive.
I'm still not 100% clear on how to set up a custom boot menu, either. Only that it can be done via one of these files, but I forget which.
Thanks
You can absolutely modify config.sys and autoexec.bat, that was the norm back then. In fact, there are cases where this is needed, for example loading a DOS CD-ROM driver for a SCSI controller that has no Windows drivers.
In rare cases, it can happen that you install a DOS tool or driver that doesn't play nice with Windows, interfering with it or entirely preventing it from booting. In that case, you would put those commands somehwere else: On a boot disk, in a custom boot menu or in a custom PIF file, so that they are only loaded in a pure DOS environment.
If it's something as simple as a sound or mouse driver, I'd simply have it install to the default autoexec.bat and config.sys. If it's something that can potentially mess up Windows, such as DOS network drivers, I put it into a custom config.
About DOSSTART, I never even knew this existed until the above post by Errius. Where did you read that you should be using it? It's just one of many ways to get things done, but by no means mandatory. If it's not there, MS-DOS mode will simply use the regular autoexec.bat.