Saturday, October 13, 2012

QTP - wscript - How to run DOS commans using windows shell script?

Dim WshShell
Set WshShell = CreateObject( "WScript.Shell" )
WshShell.Run "cmd /K CD C:\&Dir"
Set WshShell = Nothing

No comments:

Post a Comment