I'm writing a desktop application in VS 2012 C# and am wanting to know if there is another way to access a command line argument? Specifically, and maybe I'm missing some parts of this equation so i'm looking for some guidance, what I'd like to do, and what I thought I've seen done in the past is:
Set a shortcut to my application on the desktop
Right click on the icon, and set edit the properts (the target: property) to run a .bat file
in that .bat file pass a command line argument to the application
Inside my form_Load event, access that command line argument
This is not a console application. Is this even possible? Or would it just be easier to include a .txt file in the folder where the executable lives and have my application read that text file? If it is possible, what would the command inthe .bat file look like?