158
WindoWs netWorking tools
C:\>del ?.doc
would only delete files that had a single-character file name and a
.doc extension from the root directory. So a file named a.doc or files
1.doc through 9.doc would be sent to the great bit bucket in the sky;
however, a file named 10.doc, because it has two characters in the file
name, would not be affected by the previous command, which may
not have been your intention.
5.2.3.3.3 Combining Wildcards Wildcards can be combined with
other characters to represent parts of strings. In doing so you have
to be careful, or the result may not meet your intention. For example,
consider the following command:
C:\temp\>delete *abcd?.doc
is command represents a very selective method of deleting files.
First, this command ...