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 ...
We all need to start from scratch sometimes and if you're building a new PC, chances are you'll need to learn how to make a bootable USB drive. This will enable you to boot your PC directly from a USB ...
All this is assuming you can still boot into Windows 11/10 in a regular way. If you cannot, the only way is to use a bootable USB drive. You can then use the advanced recovery. Reset Windows Format ...