VBScript - Get Parameter

Environment
  • Microsoft Windows XP
Code
'For get argument
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
How to run the script, just like other original command
C:\Parameter.vbs /s:Test