I discovered this quite by accident while looking for a file with a number in the name. When I type:
dir *number*
dir
*
Yep. You'll see that it also searches through short names if you try this:
dir /x *4*
(/x switch is for short names)
for filtering file names use :
dir /b | find "4"