As a newbie, facing another problem.
I have to run an exe & pass two parameters in it, through QTP. I am using SystemUtil.Run to accomplish this task. However facing an issue in that. I am providing specific details below.
The exe file is "xyz" (without quotes). When I run this "xyz" on command prompt, it takes two parameters, separated by a white space (notice the parameters value after xyz)
e.g. C:\Program Files\MyApp\xyz -connect "FileName"
(To simply the logic, xyz exe file in MyApp uses -connect parameter to connect "FileName" in MyApp)
FileName parameters has to be in double quotes, and thats my issue. Because when I run following code through QTP, no error occurs in execution but at the background, command prompt does not recognize this as a valid command.