Jump to content

Recommended Posts

Posted

How would I run a external program file in a program I choose. Essentially I want to do the same thing ShellExecute but I want my script to pick what program opens it.

I could use Run() and then automate the program to open the file I want, but it seems like there should be an easier/better way of doing it.

Posted

Usually these programs accept some parameters.

Test first in a cmd window to see if it works.

An example how to use notepad this way:

Run("notepad.exe c:\test.txt")

Just what I needed. Thanks.

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...