切换dos并dir的vbs
发布时间:2016-12-28 来源:查字典编辑
摘要:复制代码代码如下:DimoShellSetoShell=WScript.CreateObject("WSCript.shell")oShel...
复制代码 代码如下:
<script language=vbscript>
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD c: & dir"
Set oShell = Nothing
</script>