They are called parameters. Heres an example:
Code:
#include <windows.h>
#include <iostream>
using namespace std;
int main(int argc,char *argv[], char *envp[]){ //number of command line arguments , command line strings
for(int i=0;i<argc;i++)cout<<argv[i]<<endl;
}
If you type in "example -asd -dvdsv -asdsa 1231" in command line the program will output
Code:
(folder path)\example.exe
-asd
-dvdsv
-asdsa
1231
In your main function you have argc and argv. argc is the number of arguments in argv and argv contains these strings. The first string in argv is the file path and the rest are parameters.