HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Automate Diskpart using a Batch File

26,559 views November 10, 2018 5:40

Watch on YouTube
ChannelBritec09

Description from the creator

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)
sites.google.com/site/eneerge/home/BatchGotAdmin

Join our forum
briteccomputers.co.uk/forum

About this tutorial

Britec09 published this 5:40 video tutorial on November 10, 2018. It has been watched 26,559 times on YouTube.

Channel
Britec09
Category
Education
Duration
5:40
Published
November 10, 2018
Views
26,559
Likes
358

Tags

Share

This tutorial in other languages