Dim oShellSet oShell = WScript.CreateObject ("WSCript.shell")oShell.run "cmd /K CD C:\ & Dir"Set oShell = Nothing
DIM pWsh AS IWshShellpWsh = NEWCOM "WScript.Shell"pWsh.Run(UCODE$("cmd /K CD C:\ & Dir"))pWsh = NOTHING