Quantcast
Channel: VBForums - Code It Better
Viewing all articles
Browse latest Browse all 16

Need something better than a diskpart batchfile

$
0
0
So, I am working on an app for work that will allow me to select form the available hard drives which one(s) I want to format and how I want it formatted. I have created a batch file that works for one disk, but it is very limited and prone to errors. Instead of trying to make it better, I am working on a GUI that I can use to generate the diskpart script to do the formatting. I need to know how to get the DISK information with VB (echo.list disk|diskpart), not the drives on the system. Also what is the "best" way to make the selection? Array to drop downbox, list box???? Any help appreciated.

Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>