RosettaCodeData/Task/Execute-a-system-command/VBScript/execute-a-system-command.vb

3 lines
84 B
VB.net

Set objShell = CreateObject("WScript.Shell")
objShell.Run "%comspec% /K dir",3,True