vbs

关注公众号 jb51net

关闭
首页 > 脚本专栏 > vbs >

切换dos并dir的vbs

作者:

切换dos并dir的vbs
复制代码 代码如下:

<script language=vbscript>
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD c:\ & dir"
Set oShell = Nothing
</script>

阅读全文