EliTe_ThuT Posted November 4, 2007 Posted November 4, 2007 Hey, I'd like to know how I could do this... If I have this $ProgPath = "C:\Program Files\Prog" and this $ProgExecutable = "file.exe" and that my program parameters are those : -w -ns -title 'Name' How can I do this: Run("C:\Program Files\Prog\file.exe -w -ns -title 'Name'") but using my variables... Thanks
CyNDeR Posted November 4, 2007 Posted November 4, 2007 I believe it can be done with ShellExecute(). My scripts: Random Painter
Bowmore Posted November 4, 2007 Posted November 4, 2007 If I have this $ProgPath = "C:\Program Files\Prog" and this $ProgExecutable = "file.exe" and that my program parameters are those : -w -ns -title 'Name' How can I do this: Run("C:\Program Files\Prog\file.exe -w -ns -title 'Name'") but using my variables... Thanks I think this may be what you are looking for Run($ProgPath & "\" & $ProgExecutable & " -w -ns -title 'Name'")oÝ÷ Úí+"~Ø^æ«zÊZqë"*.®ÞÅç.µ¦åzv¦zÆ®¶se'Vâb33²gV÷C²b33²fײb33cµ&öuFfײgV÷C²b3#²gV÷C²fײb33cµ&ötWV7WF&ÆRfײb33²gV÷C²b33²fײgV÷C²×rÖç2×FFÆRb33´æÖRb33²gV÷C² "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook
stampy Posted November 4, 2007 Posted November 4, 2007 you can string them together just be careful of spaces and quotes. I have to do this all the time. Run($ProgPath & "\" & $ProgExecutable & " -w -ns -title 'Name'")
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now