There is more than one way to do this, but the way I prefer is with two hard drives - one formatted and loaded with Win98 (or whatever)and the second formatted and loaded with DOS. Switching from one to the other is as simple as entering the BIOS upon initial bootup, and setting the boot sequence to the appropriate device as the 1st boot device.
If you want DOS to boot with a "C-Prompt", you'll have to install that drive as IDE1. Win98 would then boot up on D-Drive.
When I've done this, however, I've always had the Windows drive as IDE1 (C-Drive) and DOS as IDE2 (D-Drive or E-Drive).
All of this assumes, however, that your BIOS will support multiple hard drives that could be selected as the 1st boot device. Unless you have a computer that is many years old, that shouldn't be a problem.
Just one idea. I hope it helps.
Regards,
jr