I want a .bat script to run on boot which will automatically increase the hard disk space.
diskpart
select volume 1
extend
exit
However that in a .bat file just runs the first command only. I can only get it working if I manually paste it into command prompt.
I have also tried with adding CALL before each command which did not work.
CALL diskpart
CALL select volume 1
CALL extend
CALL exit