tronicsger.blogg.se

How to format usb drive on windows 10 command prompt
How to format usb drive on windows 10 command prompt




how to format usb drive on windows 10 command prompt

  • At last, hit save button and you've successfully created it.
  • This is the file extension of batch programs and without it, your program will not work. Make sure to add ".bat" at the end of file name.
  • Now choose the location where you want to save this program and type its file name (e.g., " batchprogram.bat").
  • To save it, click on "File > Save as" option.
  • Set /p input=Please enter the drive name of your pen drive:Įcho Your pen drive has been successful formatted. Now to create it, first copy this code and then proceed with below off As this program is a file, so you can also share it with your friends or other colleagues. Once created, you can use it any number of time. Using this program, you don't need to do any programming. It consist of simple commands to be executed by command line interpreter. Batch is a scripting language which works in Windows, DOS and OS 2 platform and can be programmed in Notepad or simply in Windows Command Prompt Shell. (It really worked for me)Īlso check: Change text and background color of Command PromptĪnother way of formatting the pen drive is by using batch program.

    how to format usb drive on windows 10 command prompt

    You can also use this trick to remove shortcut virus from your pen drive. In this way, you can easily delete all your USB pen drive files using Command Prompt. After this, wait for few seconds or minute(s) and when it's done, it will show the success message.

  • Now you've to press ENTER button two more times when it will show "Insert new disk for drive H:\" and "Volume label" message.
  • First of all, find out the drive name of your pen drive.
  • To format your USB pen drive, follow these steps by step instructions. Here is the example of this parameter -įormat /q H: Now I just hope that you've little bit understanding about this command. Normally If it takes 10 minutes, adding this parameter will increase the speed by 70% least. You can also add few parameter in this command. The basic syntax is - "format "įor example, "format D:\".

    how to format usb drive on windows 10 command prompt

    As name itself speak, this command let you erase/delete complete data of any drive. Out of hundreds of Command Prompt commands, one of them is "Format".

    how to format usb drive on windows 10 command prompt

    In this tutorial, I will guide you how to format it in right way. Such problems can be solved by formatting it with Windows Command Prompt. For example, sometimes your USB pen drive may not format via direct method or it may occupy unnecessary space even after formatting.






    How to format usb drive on windows 10 command prompt