首页 > 编程 > VBScript > 正文

切换dos并dir的vbs

2019-10-26 18:08:57
字体:
来源:转载
供稿:网友
复制代码 代码如下:

<script language=vbscript>
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD c:/ & dir"
Set oShell = Nothing
</script>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选