Below, the results of some tests are displayed that try to show how the command line is parsed when a batch file is invoked.
simple test
The most simple test is probably something like that:
C:\> showArguments.bat foo bar baz
arg 1 = foo
arg 2 = bar
arg 3 = baz
Argument separators
White space and the characters ,, ; and = separate arguments from one another
C:\> showArguments.bat one,two;three=four five
C:\> arg 1 = one
C:\> arg 2 = two
C:\> arg 3 = three
C:\> arg 4 = four
C:\> arg 5 = five
Using apostrophes
Apostrophes can be used to pass multiple words as one argument. Note: the apostrophes are not removed.
C:\> showArguments "this is one argument" "This is the 2nd argument" "The 3rd"
arg 1 = "this is one argument"
arg 2 = "This is the 2nd argument"
arg 3 = "The 3rd"