I have a dual monitor system. On the left monitor I am using Ranorex Studio 8.1. On the right monitor I am using a remote desktop session that is running the Ranorex remote agent. After completing the test on the remote system I want to launch a command window on my local machine (left window) the executes the pskill command to remotely kill the Ranorex agent on the remote system. However with the remote session still open I run the following command:
But it opens a command window from the remote desktop machine and the pskill command fails. I want to know how to specify that I want to launch a command window from my local machine, NOT the remote machine while the remote desktop is still open?
Code: Select all
Report.Log(ReportLevel.Info, "Application", "Run application 'cmd.exe' with arguments '' in normal mode.", new RecordItemIndex(0)); Host.Local.RunApplication("cmd.exe", "", "C:\\windows\\system32\\", false); Delay.Milliseconds(0);