@Tradersblog Just use notepad and type in the lines, then save with a .BAT extension. You can then click on this file and it will run the commands in sequence.
It seems that it's something wrong with this HDD, now I'm plotting on the internal and got no problems. I think I will plot small plots and than transfer them on external HDD...