Jump to content
Sign in to follow this  
knotten2

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:

Share this post


Link to post
Share on other sites

Add a space between devpart.exe and the trailing quote

:whistle:

Edit:

Added more clarity

Edited by MHz

Share this post


Link to post
Share on other sites

Add a space between devpart.exe and the trailing quote

:whistle:

Edit:

Added more clarity

Thanks........the eyes is the first thing that you go blind on.

Share this post


Link to post
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?

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  

×
×
  • Create New...