To erase the Flash Memory on an ESP32 using a CMD or Terminal window, your system should have the latest version of Python. If Python is not installed on your system ...
Disk Cleanup is another utility that is accessible regardless of your Windows version. The easiest way to open it is to search for "Disk Cleanup" in the search bar and bring up the window.