Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Error with RunWait

$
0
0
Hello,

I'm having an issue with the following statement:
$PID = RunWait(@ComSpec & " /k " & """C:\Program Files\ECIClientV6\StartClient.bat""")


When I run the script the command prompt reports the following:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.


So it looks like the issue is with the declaration of the program path. I am pretty sure that I should be using 3 quotes on each side of the string, but I'm not having much luck looking for info on declaring variables ... and maybe that's not the issue anyway.

Would appreciate some suggestions of things to try.

Thanks

VW

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>