window'-------------------好象在我机器上没成功-----------------
'**************************************************
' File: Format.vbs (WSH sample in VBScript)
' Author: (c) G. Born
'
' Invoking the Format dialog box for a floppy disk
'**************************************************
Option Explicit
Dim WshObj ' Object for Run method
Set WshObj = Wscript.CreateObject("WScript.Shell")
WshObj.Run "RunDll32.exe Shell32.dll,SHFormatDrive", _
1, True ' Launch dialog box.
'*** End
也许是好东西——Windows Script Host-7[Format]
80酷酷网 80kuku.com