VB 格式化磁盘代码

来源:百度知道 编辑:UC知道 时间:2024/06/04 08:51:58
Shell "cmd/c""format e: /q"""

Private Sub Command1_Click()
Shell "cmd /c format e: /q/y"
End Sub

建一个Command1. 要特别注意空格以及不要加多余的"".
代码如下。
==========
Private Sub Command1_Click()
Shell "cmd /c format e: /q"
End Sub

大哥,你的问题是啥?