Environment.GetCommandLineArgs : Environment « System « VB.Net by API






Environment.GetCommandLineArgs

  
        
Module Module1

    Sub Main(ByVal cmdArgs() As String)

        If Environment.GetCommandLineArgs.Length > 0 Then
            For Each strArg As String In Environment.GetCommandLineArgs
                'Process the arguments here.
                Console.WriteLine(strArg)
            Next strArg
        End If
    End Sub


End Module

   
    
  








Related examples in the same category

1.Environment.CommandLine
2.Environment.CurrentDirectory
3.Environment.Exit
4.Environment.ExitCode
5.Environment.GetLogicalDrives
6.Environment.HasShutdownStarted
7.Environment.MachineName
8.Environment.NewLine
9.Environment.OSVersion
10.Environment.ProcessorCount
11.Environment.SpecialFolder.CommonProgramFiles
12.Environment.SpecialFolder.Favorites
13.Environment.StackTrace
14.Environment.SystemDirectory
15.Environment.TickCount
16.Environment.UserDomainName
17.Environment.UserInteractive
18.Environment.UserName
19.Environment.Version
20.Environment.WorkingSet