Forum Discussion

anandmar24's avatar
Occasional Contributor
11 years ago

Open an application/Process without using TestedApp

Hi All, I want to run a process without using TestedApp since we need to change the location of the application everytime when we want to run in different machine. Is there any way for achievin...
  • karkadil's avatar
    11 years ago
    There are at least 3 ways do achieve what you need:

    1. Dynamically change path to TestedApp

    2. Use WScript.Shell

    Sys.OleObject("WScript.Shell").Run("C:\\Windows\\notepad.exe", SW_SHOWNORMAL);

    3. Use WinAPI

    Win32API.WinExec("C:\\Windows\\notepad.exe", SW_SHOWNORMAL);