Your shell automatically expands * to be a list of files in the current directory. How you do that depends on what shell you are using. Since you didn't know this I will guess that it is the Windows command prompt. Try typing these two lines at the command line:
dir *
dir '*'
and you will see what I mean.