Do search on WScript.Sell MSDN is full of code and methods , personally I used the SendKeys method a lot.
below is an example of using the Run method:
Set oShell = CreateObject("WSCript.shell")
' The following VBScript code opens a command window, changes the path to C:\ and executes the DIR command.
oShell.run "cmd /K CD C:\&DIR"
Set oShell = Nothing
"I realize it's an error, but no one is going to try to do that!"
From "Top 10 Stupid Comments from Developers".