format X: /FS:NTFS /Q format X: /FS:exFAT /Q
For professionals who need to automate this, here’s a Bash script that prepares a drive, resolves error 130, and holds the cache. prepare exfat ntfs drives 130 hold to keep existing cache