Jump to content

Recommended Posts

Posted

Beginner user here.  I tried searching around however since I am new to this application I wasnt sure of the paremeters to use to find what I am looking for or the correct forum.

I want to open an application, when I look at the properties of the shortcut for the application the target line appears

"C:\Program Files (x86)\<vendor name>\<application folder>\<version>\<application>.exe" -product "<application tag>"

I have tried using the Run command and the file path however I am unsure how to pass that -product "<application tag>" component in the code.  In my testing if I dont use the quotes around the application tag I get an error message from the program and it doesnt open.  If I put them back in I get no error messages however nothing happens.

Any questions please let me know.

Thanks!

Posted

If your actually using Run() then you would put the full string shown in the shortcut.

If your using ShellExecute, then the second parameter is where you would put the -Product stuff.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...