Multiple filespecs
Updated: 09/12/2023 by Computer Hope
![multiple filespecs](/jargon/m/multiple-filespecs.png)
With a command, multiple filespecs describe a command that works with multiple files. For example, the Windows command line dir command can list multiple files in one command, as shown in the example below.
dir *.txt *.doc
In the example above, the dir command lists any files in the current directory that end with .txt and .doc. This command could also be extended even more with additional file extensions.