Steeeeve Posted October 31, 2014 Share Posted October 31, 2014 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. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 31, 2014 Moderators Share Posted October 31, 2014 It would be ShellExecute("abc.exe", "-parameter 1 -parameter2") If you let us know the application, and the parameters, we can assist further. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Developers Jos Posted October 31, 2014 Developers Share Posted October 31, 2014 Show some actual code you have tried and the commandline you tested with that is running. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Steeeeve Posted October 31, 2014 Author Share Posted October 31, 2014 I don't want to show any code I may have the post locked and removed again But I'll try what you said and get back to you Link to comment Share on other sites More sharing options...
Developers Jos Posted October 31, 2014 Developers Share Posted October 31, 2014 I don't want to show any code I may have the post locked and removed again But I'll try what you said and get back to younot sure this was a smart move. Click Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts