Name: MTConnor Date: April 2, 2005 at 11:00:27 Pacific Subject: format c drive with dos error OS: windows xp pro CPU/Ram: 700mhz/256mb
Comment:
Im trying to format my c: hard drive using DOS. But when I type in the command format c: in the prompt area I get bad command or file name. What is the correct command to type or what is the best way to format my hard drive for a fresh install?
To format from DOS you require a DOS bootable floppy or CD which has the 'format.com' command present - if it's not, you get the well known 'bad command or filename' message
Anyone in the XP forum could have told you - it's actually the best place to pose XP questions
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
I dont have the XP disc.... I was going to go back to 2000 and erase my whole drive. Ive gotten dos up and ready. Ive typed in format c: and it says that it cant do it in dos. I have the format.com copied to the floppy for boot up. What do I do now if it says that?
Oy. The correct command to type is FORMAT C:. However, you must look at your prompt. Are you at an A:\> prompt and getting the BAD COMMAND message? If so, that simply means the FORMAT program is not at the root of the floppy and the computer can't find it. If the program FORMAT was inside a folder called TOOLS on the A drive, you'd need to be at an A:\TOOLS> prompt for FORMAT to be found. So the question is - how do you search for the FORMAT program? To search your floppy, type DIR A:\FORMAT /S. This will search all subfolders on the A drive looking for FORMAT. If your CD-ROM drive is D:, you'd type DIR D:\FORMAT /S to find where FORMAT lives on the CD-ROM. Once found, use the CD command to change to that directory to finally run FORMAT. For example, assume FORMAT is on a CD-ROM in your D drive. At the A:\> prompt, type DIR D:\FORMAT /S. You may see now that FORMAT lives in a folder named WIN98. So, from the A:\> prompt type D: to switch to the CD-ROM drive. Now at the D:\> prompt, type CD WIN98 to switch to the WIN98 folder on the CD (where FORMAT lives). Now at the D:\WIN98> prompt, type FORMAT C:. Easy, right? Of course, from an A:\> prompt, you could simply type D:\WIN98\FORMAT C: and that would work too.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE