Solved How do I format drive c using dos command

February 6, 2011 at 12:05:53
Specs: XP, Generic
My computer is ruined by viruses. It will not boot up. I managed to get on to command prompts. C:\windows I type format c:\ and get error message.
I assume I have to get rid of the "windows" and just get to C:\ How di I do that and how do I type the right command to format c: Thank you for your help

See More: How do I format drive c using dos command

Report •


✔ Best Answer
February 6, 2011 at 16:38:56
It's format c:/s and not format c:\s. But that won't work unless you boot from a 98 or ME bootdisk AND your XP is on a fat32 and not an NTFS partition.

Why can't you boot from the cdrom?

The mantra of the aging hippie--"Power to the government, right on"



#1
February 6, 2011 at 12:26:39
You have to use a boot disk (CD or floppy) to format a drive. Windows will not "commit suicide" by trying to format within itself. Realize also you'll lose whatever data is on the drive you're trying to format...

"Channeling the spirit of jboy..."


Report •

#2
February 6, 2011 at 15:35:58
The correct syntax for this command is:
format c:
or
format c: /s

where /s will copy the basic dos system files to the hard drive, to make it bootable.

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Report •

#3
February 6, 2011 at 16:03:25
to: T-R-A

Like I said, the computer is ruined and can't get beyond the blue screen. That is why I wish to totally wipe C: clean. Am not concerned about losing anything.
If I could boot it from the cd drive I would.
Thanks for your response.


Report •

Related Solutions

#4
February 6, 2011 at 16:10:31
to paulsep

Thank you for your help but "format c: \s" didn't work. I got a message says "the parameters not valid"


Report •

#5
February 6, 2011 at 16:38:24
I wrote slash not backslash:
format c: /s

Click Here on HowTo ask good Question to get best Help
Let us know, if the problem is solved !!!


Report •

#6
February 6, 2011 at 16:38:56
✔ Best Answer
It's format c:/s and not format c:\s. But that won't work unless you boot from a 98 or ME bootdisk AND your XP is on a fat32 and not an NTFS partition.

Why can't you boot from the cdrom?

The mantra of the aging hippie--"Power to the government, right on"


Report •

#7
February 6, 2011 at 17:31:32
Progress???
I tried following your directions with no results.

Ok, So I type not what you told me, but this: format c: \s \*.*

I get this message back: "CAUTION all information on this fixed disk
will be lost!" Procede with format? (Y/N)? this is where I want to be!!!
So I type Y and enter, and it goes back to c prompt.
Thanks for your help. Have had it for tonight. Any ideas?


Report •

#8
February 6, 2011 at 18:17:30
Yeah, using the dos based 9X format command with /s (sys) would only give you a hard drive that boots to a c:\> prompt with 9X system files. And again, it would only work if the partition was fat32. But regarding that particular command, that's the way it's syntaxed.

If it was fat32 you could boot with the 9X or ME bootdisk and just type format c: and enter and it would work. Of course you'd still have to boot with an XP cd to install the OS.

Why haven't you made any progress? BECAUSE YOU NEED TO BOOT FROM A DIFFERENT DRIVE TO DO THE FORMAT as already mentioned. But then, if you boot from the XP cd you don't have to reformat--just delete the existing partition and recreate it and do the reinstall.

So again, why can't you boot from the cdrom?

How about those Packers Steelers!


Report •

#9
February 6, 2011 at 21:11:55
All you have to do is boot off the XP disc, wipe out the partitioning, create new partitions, format (preferrably NTFS), then reinstall Windows. As for the "blue screen" when you try to boot, that's probably NOT caused by a virus.

BTW, do you know the difference between slash / & backslash \ ?


Report •

#10
February 7, 2011 at 14:37:44
Mick,

Yes I know the difference from / and \ One goes one way and one goes the other. It has been a long time since I have used DOS an things have changed. Thank you for your help. I appreciate it.


Report •


Ask Question