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

Complex arguments

$
0
0
Hi guys, I'm having some issue with arguments here.

I have this batch file that works fine and I would like to convert to autoit :
"\\server\setup.exe" /s /v"/qn ALLUSERS=1 LEI_SILENT=1 PIDKEY=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX LEI_ACDID_EMAIL=my@email.com LEI_ACDID_PWD=Password SERVER=server PORT=6319"

Unfortunately, the quotes in the arguements seem to be causing problems :

$setup = "setup.exe"
Run( $setup & " /s /v"/qn ALLUSERS=1 LEI_SILENT=1 PIDKEY=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX LEI_ACDID_EMAIL=my@email.com LEI_ACDID_PWD=Password SERVER=server PORT=6319"" )
ProcessWaitClose ( $setup )

Would you have any suggestion in how to handle quotes in this context?

Thanks in advance!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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