J
James
vb.net 2003
i created console.exe file and from cmd prompt i would like to pass
arguments into it.
Eg myprogram.exe ntid
myprogram.exe expects to read a variable enter by user. How do i pass
arguments to be read by my program ? The below only display it and not
reading a variable
Dim arguments As [String]() = Environment.GetCommandLineArgs()
Console.WriteLine("GetCommandLineArgs: {0}", [String].Join(", ", arguments))
i created console.exe file and from cmd prompt i would like to pass
arguments into it.
Eg myprogram.exe ntid
myprogram.exe expects to read a variable enter by user. How do i pass
arguments to be read by my program ? The below only display it and not
reading a variable
Dim arguments As [String]() = Environment.GetCommandLineArgs()
Console.WriteLine("GetCommandLineArgs: {0}", [String].Join(", ", arguments))