How to write a VBScript command for CMD parameters?
I have below install parameters that i use to install setup with CMD. I have Deployment Script (VBS) that i will be using to deploy the package. I have been getting error: End of Statement expected. Any suggestion on what exact VB command would it be for below.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>"PathToSetupFile\Setup.exe" /UL1034 /V"SERIALNUMBER=1111-111
1-1111-1111-1111 COUNTRY=202"
3 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
VBScript uses double-quote marks to enclose strings but the string you're trying to use also uses quotes. Therefore, use the ASCII code for the double-quote character which is 'Chr(34)'. Arguably, use of that ASCII code also makes your script easier to read. - anonymous_9363 10 years ago