When referring to 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.

File, Software terms