There are much better forums for programming help. That said, the command line arguments can be found in the args parameter passed to your Main function. You can parse that yourself, or you can search Google for a command line parsing library.