How would one go about sending parameters to the application?

For example, I want to send my exe some switches or parameters.

my_app.exe -param1 -param2

Something like that. Then I can use the para1 and param2 throughout the exe

Possible?

But it is not command line, it is gui based