Jump to content
Sign in to follow this  
Guest Anomaly

Simple Question about Run command

Recommended Posts

Guest Anomaly

how do I run a program with extra parameters? Specifically, I want to run a normally full-screened game in windowed mode, which requires a " -w" to be placed in the shortcut. Despite what I have tried, I cannot get the -w parameter into the script.....how can it be done?

(please don't flame if it's in the manual, I read as much of it as I could take in before I got overly frustrated)

Share this post


Link to post
Share on other sites
tutor2000

how do I run a program with extra parameters?  Specifically, I want to run a normally full-screened game in windowed mode, which requires a " -w" to be placed in the shortcut.  Despite what I have tried, I cannot get the -w parameter into the script.....how can it be done?

(please don't flame if it's in the manual, I read as much of it as I could take in before I got overly frustrated)

Check command parameters which I am not very familiar with. It allows a variable at the end

and check runwait(@compec " /c

Rick


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
Share on other sites
ezzetabi

This should work

Run("executable.exe -w","")

Share this post


Link to post
Share on other sites
herworth

I do it this way

Run('"path and file.exe" -w')

Note the file is in " and the whole thing is in '.


[u][font="Arial"]Pete[/font][/u]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.