Search found 1 match
- 21 Jun 2018 14:29
- Forum: DOS Batch Forum
- Topic: Can't get batch file to input commands into Diskpart
- Replies: 1
- Views: 2094
Can't get batch file to input commands into Diskpart
Hello, I am trying to create a .bat that uses PsExec to open Diskpart on a server and format a specific drive but the bat file stops running after it opens disk part. Below is my current .bat: cd .\NO TOUCH\ .\PsExec.exe \\[IP ADDRESS] -u [USERNAME] -p [PASSWORD] diskpart list disk select disk 1 for...