Jump to content

Recommended Posts

Posted

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:

Posted

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.

Posted

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?

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
  • Recently Browsing   0 members

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