Jump to content

run a progam with parameters?


Recommended Posts

Hey

I have this;

RunWait($Drive & "\" & "devpath.exe" & $Drive )

(It gives me ERROR)

When I run it like this --> devpath.exe X:\ from a Cmd window it works fine.

I have the drive in the variabel $Drive, because it changes from time to time.

Can someone pls. help! :whistle:

Link to comment
Share on other sites

Hi

I have a problem with runwait command.

I need to put a variable into command line, how can i do it?

Code:

case $msg = $Button_5

$timeadd = InputBox("Title", "Blabla text", "this must be VARIABLE", "", _

-1, 1, -1, -1)

If @error = 1 Then ExitLoop

RunWait("models\cmd.exe" & " /c blablacomand VARIABLE blablacommand")

Is it possible to put variables into command line?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...