下面的代码可以完成这样的工作:
Set WSHShell = Wscript.CreateObject("Wscript.Shell")WSHShell.run "rundll32.exe shell32.dll,SHFormatDrive"