Format command in MS-DOS

Solved
trankill076 Posted messages 83 Status Member -  
sympatiqueCCM Posted messages 408 Registration date   Status Member Last intervention   -
Hello,

I have a laptop on which I cannot reinstall Windows 7 (I don't know why but the installation fails)

Suspecting a problem with the hard drive, I am trying to format it
So I created a bootable USB stick with MS-DOS (no floppy drive on a laptop) that contains Format.com, which is supposed to allow me to format drive C: with the command format c:

Booting from the USB works, but when I enter the command, I get the following error:
"this program cannot be run in DOS mode"

I really don't see what could be causing this.
Do you know how to fix this error or suggest another way to format my hard drive?

Thank you

Configuration: Windows 7 / Firefox 12.0

--
A signature? What for?

6 answers

  1. Arisso
     
    Prerequisites
    -A Windows PC
    -A USB flash drive of at least 4GB
    -A minimum of concentration

    Procedure
    -Press the Windows key and R together

    -Type cmd and press Enter

    -In the console, type diskpart and press Enter

    -Then type list disk and press Enter

    -select disk x and press Enter (x is the number corresponding to your USB flash drive)

    -clean and press Enter

    -create partition primary and press Enter

    -format fs=fat32 quick and press Enter

    -active and press Enter

    -assign and press Enter

    -Close the console

    -And decompress the operating system onto the USB flash drive

    Thank you for your attention
    1
    1. sympatiqueCCM Posted messages 408 Registration date   Status Member Last intervention   14
       
      Thank you very much for this little computer lesson.
      0