Question:
How do I issue a disk format command from myVB code? Do I simply shell to DOS?
Answer:
That’s what I would recommend. Format is a .COM file, so it can be run without COMMAND.COM. You can use the technique using GetModuleUsage to determine when the Formatting is complete. Check the question index for how to use GetModuleUsage.