Ok, I think this is a easy one.
I have this application that I've written that:
- Prompts me for a file using the OpenFileDialog.
- Opens the file.
- Traverses the file.
- Does it's thing.
- Closes the file and provides a results set within a textbox.
What I want to do is be able to from either a command line or something else, type in the EXE with a trailing file name. Like "c:\temp\exefile.exe textfile.txt" (the results set will be handled differently in this scenario). I know how to do that in Winbatch (use the %param% command) but I've never tried that in .NET.