Unless you actually want to write the boot disk by collecting and/or writing from scratch the necessary files, try this:
- Go here and read about MS-DOS 7.10, which is effectively the back-end of Windows 98.
- Download this, which contains the necessary files. (Their server was very slow, so you may need to wait longer than you expect while downloading.)
- Get WinImage, install it (free trial period).
- Create a floppy disk with the image in the .zip file, using WinImage.
- Add RESTART.COM to the disk, in the root directory. (Attached to this post, in a .zip file.)
- Edit the AUTOEXEC.BAT file to include (at the end of the file) the lines:
Code:
copy filepath.001 filepath.002
call restart.com
In the above, substitiute the correct path and file names that you wish to affect. - Now boot the computer with the floppy. It will do its thing and then restart.
It works; I tested it on a virtual machine. Note that if you have an NTFS drive, you'll likely need a different boot disk instead, available from the same source--but since you refer to DOS specifically, I assume that you've got an computer with a FAT16 or FAT32 file system.
Alternatively, if you have access to a Windows Me or lower computer, you can create the bootdisk directly from there, then follow the same procedure to modify the AUTOEXEC.BAT file.