Do you mean DOS or an NT command prompt? AFAIK, most BIOS updates are done in either DOS or GUI Windows. A command prompt only NT is a bit tricky, and not very useful anyway. A DOS booting USB stick ...
If you have an external hard drive or USB drive that you cannot format from File Explorer, you can check out this guide. It will help you to format the external hard drive or USB drive using Windows ...