Dos command errors with Windows 7

jimlance

Distinguished
Sep 25, 2009
8
0
18,510
In Windows 7, I have found erroneous results in executing DOS commands (DIR and MOVE) using the wildcard *.
a sample command is:
dir "42013*.LIC > "List 42013 LIC.txt"
This should make a list of all the files in the directory that begin with "42013".

But, I get additional files listed that do not begin with "42013" or even contain the sequence of numbers.

I am clueless at this stage!