command_line argument
I can not get the difference between these sentences! would you please write some snippet code for these sentences?thanks

    

The program will receive a path to a directory as the first command-line argument. 
The program will receive a path to a file as the second command-line argument.
command_line argument
===

I can not get the difference between these sentences! would you please write some snippet code for these sentences?thanks

    

The program will receive a path to a directory as the first command-line argument. 
The program will receive a path to a file as the second command-line argument.