To do this, you'll need fdisk.exe and format.com from Windows 9x/ME - and, of course, a bootable system disk from one of these O/Ses - DOS 6.22 cannot support hard disks larger than 2Gb, and it cannot run system programs form later O/Ses.
To make a system disk under Windows ME, you must create it from the System Disk tab in Add/remove Programs under Control Panel.