Alternative to ShellExecute

  • Thread starter the.flash.flood.editor
  • Start date
T

the.flash.flood.editor

Hi-
I have a situation where I wish to call a file and I don't think
ShellExecute is going to work.

Specifically, the file I want to call usually opens with Wordpad of
Notepad, but it is actually a set of scripts that are run by a
specific retail systems program.

So the question is, how do I specify the program I want to run when I
execute a call on the file?

Thanks
 
S

Steve Yandl

You will need to know something about the command line for launching your
'specific retail systems program'. Hopefully, there is a command line that
includes listing the path and file name for your script file as one of the
arguments. Then you use ShellExecute with the command line that starts your
retail systems program and feeds it your script.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top