Use a high-quality USB cable (original recommended). Connect your phone to the PC.

"Redmi Note 10 Pro fastboot ROM flash_all.bat"