batch file to spam a removable drive with partitions?
Posted: 26 Oct 2020 16:39
I have tried this:
and heres the txt:
but it wont work, i just stay with 1 non-functioning partition. please help.
Code: Select all
@echo off
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
diskpart /s script.txt
Code: Select all
SELECT DISK 1
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT QUICK
ASSIGN LETTER=E
EXIT