COMMAND$ Function Details Syntax COMMAND$ The COMMAND$ function returns the complete command line entered after your BASIC program name, including optional parameters. COMMAND$ removes all leading blanks from the command line and converts all letters to uppercase (capital letters). The COMMAND$ function can be used in stand-alone executable files or, if you are executing from the QuickBASIC environment, by using the /CMD command line option or by selecting Modify COMMAND$ on the Run menu.