How to switch between dos and dir vbs
This article introduces the knowledge of "how to switch dos and dir vbs". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
The code is as follows:
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
OShell.run "cmd / K CD c:\ & dir"
Set oShell = Nothing
This is the end of the content of "how to switch dos and dir vbs". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!