Ask a question »

Windows - How to format a USB key from the command prompt

May 2015


Windows - How to format a USB key from the command prompt

Formatting an USB flash drive from the command prompt is really easy. This procedure can be achieved using the format command, which works for most version of Microsoft Windows (Windows 95 up to Windows 8.1).

The procedure is as follows:
  • Connect the USB flash drive to your PC.
  • Click on Start > Run > Type cmd and click on OK.
    • Assuming the letter assigned to the USB flash drive is G, type the following command:
  • format /q /x G: and press Enter.
  • The q parameter stands for quick format
  • The x parameter forces the selected volume to dismount, if needed.
  • NB: Don't forget to replace the letter "G" with your drive letter.

Thanks to jack4rall for this tip.
For unlimited offline reading, you can download this article for free in PDF format:
Windows-how-to-format-a-usb-key-from-the-command-prompt.pdf

See also

In the same category

Published by aakai1056. - Latest update by jak58
This document entitled « Windows - How to format a USB key from the command prompt » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.