' Sample for the Environment.CommandLine property.
Imports System
Class Sample
Public Shared Sub Main()
Console.WriteLine()
' Invoke this sample with an arbitrary set of command line arguments.
Console.WriteLine("CommandLine: {0}", Environment.CommandLine)
End Sub 'Main
End Class 'Sample
'
'This example produces the following results:
'
'C:\>CommandLine ARBITRARY TEXT
'
'CommandLine: CommandLine ARBITRARY TEXT
'