Sign in to follow this  
Followers 0
Steeeeve

ShellExecute explained?

5 posts in this topic

Hi there, I am fairly new to all of this and was wanting some help. I am currently trying to run a program with a set of parameters but am not sure how to do it. I have been looking through the help manual for ages and found this:

ShellExecute ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

I was wanting some help to figure out the "parameters part. Anytime I try to put something there it won't work. Is there a certian format I need to write them in. Currently they are just being writting like so.

abc123.exe -parameter1 "-parameter number 2"

and so on. I feel the way they are written is what is causing me trouble.

Share this post


Link to post
Share on other sites



It would be ShellExecute("abc.exe", "-parameter 1 -parameter2")

If you let us know the application, and the parameters, we can assist further.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

I don't want to show any code I may have the post locked and removed again :P But I'll try what you said and get back to you

Share this post


Link to post
Share on other sites

I don't want to show any code I may have the post locked and removed again :P But I'll try what you said and get back to you

not sure this was a smart move.

Click

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0