Insert the cd-rom of win 95-98-me and boot from there.
In the menu install/boot choose boot.
When you get a command write:
FORMAT C: /U /S /V:NAME
of course you has nothing in your disk, so there should not be a problem to format it again!
Dos earlier from 6.22 should has their own install software.
If you has access to other machine,
format a floppy with FORMAT A: /U /S /V:FLOPPY
then copy the format.exe from where it reside in the other machine, then
format you hard disk with that floppy and the command before!
: : i wanted to clean my computer of EVERYTHING on it, so i used the command
: : deltree C:\
: : i thought i could just put command.com on a floppy and load it up again. i cant. how can i put command.com, autoexec.bat and my other startup files back on again? the command prompt just asks for the location of a command interpreter. i told it A:\command.com when it was on a floppy but it didnt work.
: You didn't mention the version of DOS you're using.
: There are ways to recover the "deleted" files, but only if you haven't copied anything to the drive yet.
: I hope you didn't lose anything very important...