This question already has an answer here:
You can run some exe files from cmd.exe providing arguments.
P:\foo\boo “” user pass P:\system\ company foo –P boo
Is there any way to actually find out what parameters an exe can take?
Obviously I don't have access to the source code of a specific exe. All I am trying to find out is if it is possible without the owner's manual/docs to actually know what parameters can be passed. I am open to a solution involving reflection in C# etc
Any insights on this will be very helpful