You can pass command-line arguments to a program's main method when you
load the program for debugging or when you run the program.
To specify program arguments:
Select the file in the Explorer window.
From the main window, choose Build Set Arguments.
In the Set Arguments dialog box, type the arguments as if you were
typing them on the command line.
Do not include the program name. If the
argument includes a space, enclose it in quotation marks (for example, "arg 1").
Click OK.
You can also specify arguments on the Execution tab of the file's property
inspector.