切换dos并dir的vbs 2020-02-16 分类:VB 标签Tags:切换,dos,dir,vbs,实现,代码,如下,script,language,vbscript,dim,oshellset,oshell,wscript,shell,run,cmd,k
实现代码如下:<script language=vbscript>Dim oShellSet oShell = WScript.CreateObject ("WSCript.shell")oShell.run "cmd /K CD c:\ & dir"Set oShell = Nothing</script> 以上就是【切换dos并dir的vbs】的全部内容了,欢迎留言评论进行交流!