SIMPLE SOLUTION:
If you want to keep it simple and easy then you can do this:
'1. Make sure a switch indicator has to be used in order to determine a parameter (such as a "/")
'2. Get the command line and remove any spaces:
Const cSWITCH$ = "/"
Dim sCommandLineInput As String
'Get the Command Line input
sCommandLineInput = Command()
sCommandLineInput = Trim$(sCommandLineInput)
'3. Next, for this simple example, need to make sure that all parameters have a proper switch indicator (i.e. "/")
'If the first item doesn't have a switch indicator, then add one
If Left$(sCommandLineInput, 1) <> cSWITCH Then sCommandLineInput = cSWITCH & sCommandLineInput
'Replace All spaces with a switch indicator (i.e. "/")
sCommandLineInput = Replace(sCommandLineInput, " ", cSWITCH)
'3. Create an array using the Split function:
Dim vInputItems As Variant
vInputItems = Split(sCommandLineInput, cSWITCH)
'4. Now you can inspect each item
Dim vItem As Variant
For Each vItem In vInputItems
'Check if vItem is a valid switch that you want to use
If Len(vItem) <> 0 Then
Select Case vItem
Case "A"
'Do something for this parameter type
Case "B"
'Do something for this parameter type
Case "?"
'HELP - Show help text for command line input
Case Else
'Not a Valid parameter -ignor
End Select
End If
'Get the next parameter passed
Next vItem
'(Please note that I typed this out of my head and didn't check for syntax errors but you should get the idea here)