How to Automate Diskpart using a Batch File
Channel:
Subscribers:
866,000
Published on ● Video Link: https://www.youtube.com/watch?v=EJqR6j4DmXw
How to Automate Diskpart using a Batch File
Name file diskpart.cmd
@echo off
DISKPART /s C:\diskpart.txt
--------------------------------------------------------
Name text file diskpart.txt and change select disk to you USB drive.
SELECT DISK 2
CLEAN
CREATE PARTITION PRIMARY
SELECT PARTITION 1
ACTIVE
FORMAT QUICK
ASSIGN LETTER=E
EXIT
-------------------------------------------------------
Launch Batch Scripts as Administrator (with GUI UAC prompt)
https://sites.google.com/site/eneerge/home/BatchGotAdmin
Join our forum
http://www.briteccomputers.co.uk/forum
Other Videos By Britec09
Tags:
How to Automate Diskpart using a Batch File
Automate
Diskpart
Batch File
CMD
Script
Command
How to
Launch Batch Scripts as Administrator
Scripts
Batch
.bat
cmd
USB
Bottable
BatchGotAdmin
Britec
diskpart.cmd
DISKPART
VBS Script
elevate a .CMD
Windows 10
Windows
Windows 8
Windows 7
Windows XP
Windows vista
Administrator
Admin
Guide
Tutorial