S
Sean Nelson
Guest
I'm probably a relic, but I expected the old standard "*" (match zero or more
characters) and "?" (match any 1 character) filename wildcarding characters
to work in a Command Prompt window. They do work, after a fashion, but not
in the way I would expect. For example:
dir *.d?? displays files such as "Test.docx"
dir *s.* displays files such as "exam.xls"
Interestingly, the same wildcarded search patterns work as I expect in an
Explorer search window.
What exactly are the wildcard characters that cmd.exe accepts, and how are
they interpreted?
characters) and "?" (match any 1 character) filename wildcarding characters
to work in a Command Prompt window. They do work, after a fashion, but not
in the way I would expect. For example:
dir *.d?? displays files such as "Test.docx"
dir *s.* displays files such as "exam.xls"
Interestingly, the same wildcarded search patterns work as I expect in an
Explorer search window.
What exactly are the wildcard characters that cmd.exe accepts, and how are
they interpreted?