Any reason why you are forcing yourself to use Windows 98?
Wouldn't have the issue if you were not using a 25 year old OS.
1998 = 25 years ago?... I think your maths are off a bit there.
But yeah, depending on the specs of the machine, upgrade it to 2000 or XP, they don't run on top of DOS so you shouldn't have the issue any more.