0

I have Created Text file where it contains dispart commands and I run it from The Batch File using the code below:

@echo off
Diskpart.exe /s D:\script.txt

Hopefully, That's works fine but there is something I don't want it to happen anymore and that was when Dispart.exe opened.It is openning maximized. So how to make it openning minimized?

aschipfl
  • 33,626
  • 12
  • 54
  • 99
Matar Mudi
  • 37
  • 7

1 Answers1

0

Use this command in your .bat file:

start /min diskpart

Hope this helps. Good luck!

MordechayS
  • 1,552
  • 2
  • 19
  • 29