How to move multiple files into a directory using cmd

To move multiple files using:

1. the mv command pass the names of the files 

mv file1.txt file.2.txt  path/to/folder

2.  pattern followed by the destination.

The following example is the same as above but uses pattern matching to move all files with a .txt extension.

mv *.txt folder