Get Command Line Arguments in a Windows Forms Application
string[] args = Environment.GetCommandLineArgs();
foreach(string arg in args){
// do stuff
}
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.