Format C: Bad Command
Moderator: Wiz Feinberg
-
Tom Mortensen
- Posts: 401
- Joined: 12 Dec 1999 1:01 am
- Location: Nashville TN
Format C: Bad Command
I re- partitioned the hard drive on my Compaq Laptop.
It now has 1 partition instead of 2 and no Operating System installed.
I have Windows 98 CD and Boot Disk.
Problem: Formatting C:
When I enter <font color="red">A:\>format C:</font> I get <font color="red">Bad command or file name.</font>
When I go back and check the partition from the DOS menu everything checks out good.
Any suggestions?<FONT SIZE=1 COLOR="#8e236b"><p align=CENTER>[This message was edited by Tom Mortensen on 27 June 2003 at 07:27 AM.]</p></FONT>
It now has 1 partition instead of 2 and no Operating System installed.
I have Windows 98 CD and Boot Disk.
Problem: Formatting C:
When I enter <font color="red">A:\>format C:</font> I get <font color="red">Bad command or file name.</font>
When I go back and check the partition from the DOS menu everything checks out good.
Any suggestions?<FONT SIZE=1 COLOR="#8e236b"><p align=CENTER>[This message was edited by Tom Mortensen on 27 June 2003 at 07:27 AM.]</p></FONT>
-
Jim Smith
- Posts: 7949
- Joined: 4 Aug 1998 11:00 pm
- Location: Midlothian, TX, USA
"Bad command or file name" normally means the OS can't find the executable, in this case format.com. If indeed it isn't on the floppy, copy it from another Windows 98 PC. Another option if your BIOS can be set to boot from a CD, is to boot from your Windows 98 CD and allow the installation to format your drive. (I think that was an option for 98.)
-
Tom Mortensen
- Posts: 401
- Joined: 12 Dec 1999 1:01 am
- Location: Nashville TN
-
Jim Smith
- Posts: 7949
- Joined: 4 Aug 1998 11:00 pm
- Location: Midlothian, TX, USA
A write protect error usually means the little write protect tab on the floppy is open. It must be closed in order to write to it.
If the CD gives an error formatting, that sounds like the partition you created has a problem. Double check that you made it a primary partition and marked it active so you can boot from it. It might be easier to delete the partition completely and let Windows partition and format the drive itself.
If none of that works, you may have a bad drive or possibly a loose drive or power cable.
If the CD gives an error formatting, that sounds like the partition you created has a problem. Double check that you made it a primary partition and marked it active so you can boot from it. It might be easier to delete the partition completely and let Windows partition and format the drive itself.
If none of that works, you may have a bad drive or possibly a loose drive or power cable.
-
Tom Mortensen
- Posts: 401
- Joined: 12 Dec 1999 1:01 am
- Location: Nashville TN
-
Jim Smith
- Posts: 7949
- Joined: 4 Aug 1998 11:00 pm
- Location: Midlothian, TX, USA
Compaq's are and have always been weird, in my opinion. I'm not familiar with laptops, but I can't think of any reason why the BIOS would insist on seeing two partitions.
It does seem that something in the laptop is preventing you from writing and/or formatting. That could possibly be a security setting in the BIOS, to keep unauthorized people from copying data or reformatting your hard drive.
That's about all I can suggest, but what error are you getting when you try to format the drive?
It does seem that something in the laptop is preventing you from writing and/or formatting. That could possibly be a security setting in the BIOS, to keep unauthorized people from copying data or reformatting your hard drive.
That's about all I can suggest, but what error are you getting when you try to format the drive?
-
Tom Mortensen
- Posts: 401
- Joined: 12 Dec 1999 1:01 am
- Location: Nashville TN
-
Tom Mortensen
- Posts: 401
- Joined: 12 Dec 1999 1:01 am
- Location: Nashville TN
-
Everett Cox
- Posts: 497
- Joined: 13 Jul 1999 12:01 am
- Location: Marengo, OH, USA (deceased)
Tom--Presuming you were using the boot disk created by Win98 (Control Panel/Start Up Disk):::
Booting with that disk will create a VIRTUAL (RAM) disk in memory. It then copies/extracts the utilities to THAT 'drive' and executes from there. The letter assigned to the RAM drive is dependant upon the machine's other existing drives. You SHOULD have gotten a message telling you the RAM drive was setup OK and the drive letter.
So, that's why you got the error mentioned in your original post. You should have logged on to the RAM drive to run Format.
When you attempted to extract Format from EBD.CAB to the floppy (A
, perhaps there was not enough space????
Once you got a good Format.com, I don't know why you get an error trying to format drive C:.
Hope this is helpful --Everett
Booting with that disk will create a VIRTUAL (RAM) disk in memory. It then copies/extracts the utilities to THAT 'drive' and executes from there. The letter assigned to the RAM drive is dependant upon the machine's other existing drives. You SHOULD have gotten a message telling you the RAM drive was setup OK and the drive letter.
So, that's why you got the error mentioned in your original post. You should have logged on to the RAM drive to run Format.
When you attempted to extract Format from EBD.CAB to the floppy (A
, perhaps there was not enough space????Once you got a good Format.com, I don't know why you get an error trying to format drive C:.
Hope this is helpful --Everett