VBScript - Get Parameter
Environment
- Microsoft Windows XP
'For get argumentHow to run the script, just like other original command
Set args = WScript.Arguments.Named
'Check if the parameter is exist
If args.Exists("s") Then
'Get the value
i = args.Item("s")
End If
C:\Parameter.vbs /s:Test