• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Having some trouble re-installing Win98 on a machine

Otrant

Member
Hi,

I am having a bit of trouble re-installing windows 98 on an old machine. The computer boots to the DOS prompt, and the Win98 CD is in the drive, but when I try to run setup from the CD-Rom drive, it gives the error "This program cannot be run in DOS mode."

I have also tried booting w/ a boot disk, and I get the same message.

I tried formatting the system again, but for some reason, I get "Bad command or filename" when typing format c: from the DOS prompt.

What's going on? 🙂
 
Go to Bootdisk.com and download a Windows 98 floppy image. Boot with the floppy and follow these steps:

1. Boot without CD-ROM support.
2. When you get to the command prompt, type FDISK. Delete and recreate your primary partition. Exit FDISK.
3. You will be prompted to reboot. This time, boot with CD-ROM support.
4. At the command prompt, type FORMAT C: and follow the instructions.
5. Insert your Windows 98 CD and run setup from your CD-ROM drive.
 
Downloaded boot disk, ran fdisk, deleted and recreated primary partition. Rebooted w/ CD Rom support. Still get "Bad command or file name" upon typing format c: from DOS prompt.

 
If your using the win98 cd to boot from, choose boot with cdrom support. When you are at the prompt you can change to the cdrom drive letter and then change directory to win98. For example ... a:\d: (hit enter) d:\cd win98 (hit enter) d:\win98\ format c: /s. Format is in this directory, and you can launch it from there to format c:. What I usually do is enter a path statement to the win98 directory and then run the format command. Something like... path=d:\win98 ... now typing format c: /s should work.
 
Originally posted by: Otrant
Downloaded boot disk, ran fdisk, deleted and recreated primary partition. Rebooted w/ CD Rom support. Still get "Bad command or file name" upon typing format c: from DOS prompt.

What you need to do is this.

Assuming D:\ is the CD drive.

At the command prompt, probably showing A:\ type -

D:
CD WIN98
format c:/s

There is no path parameter defined telling DOS to search the WIN98 directory. So DOS can't find format.exe in the directories that are defined in the path statement and thus it displays "Bad command or file name".


 
Back
Top