You haven't explained what the problem is. Your code already reads the command-line arguments - although it will crash if no arguments are passed. You simply need to pass the argument when you launch it:
C:\Path\To\YourApplication.exe YourFirstArgument