knotten2 Posted July 31, 2006 Share Posted July 31, 2006 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! Link to comment Share on other sites More sharing options...
MHz Posted July 31, 2006 Share Posted July 31, 2006 (edited) Add a space between devpart.exe and the trailing quote Edit: Added more clarity Edited July 31, 2006 by MHz Link to comment Share on other sites More sharing options...
knotten2 Posted July 31, 2006 Author Share Posted July 31, 2006 Add a space between devpart.exe and the trailing quoteEdit:Added more clarityThanks........the eyes is the first thing that you go blind on. Link to comment Share on other sites More sharing options...
a2z Posted August 5, 2006 Share Posted August 5, 2006 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 More sharing options...
Briegel Posted August 5, 2006 Share Posted August 5, 2006 RunWait("models\cmd.exe" & " /c blablacomand " & $timeadd & " blablacommand") Link to comment Share on other sites More sharing options...
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