How to read parameters for CONSOLE Applications
Posted: Tue Apr 19, 2011 4:42 pm
Start console application, replace sub main with this :

Code: Select all
Sub Main(ByVal args As String())
For Each arg As String In args
'arg = command line, get it?
Console.WriteLine(arg)
Next
End Sub
