小编Pol*_*ger的帖子

从 vb.net 中的命令行获取参数

processPath在这个例子中是否可以从 返回参数?
这可能更有意义,抱歉。

Dim processName As String

Dim processPath As String

If processName = "cmd" Then
    Dim arguments As String() = Environment.GetCommandLineArgs()
    Console.WriteLine("GetCommandLineArgs: {0}", String.Join(", ", arguments))
End If
Run Code Online (Sandbox Code Playgroud)

vb.net command-line

3
推荐指数
1
解决办法
4万
查看次数

标签 统计

command-line ×1

vb.net ×1