Tuesday, February 19, 2013

Run DOS commands from QTP

    Dim oshell
    Set oshell=createobject("WScript.shell")
    oshell.Run "cmd /k ipconfig"
    Set oshell=nothing

No comments:

Post a Comment