Sign in to follow this  
Followers 0
Herb191

Running external program file in a program I choose

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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")

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0