Robocopy is used via the command prompt in Windows for copying and moving files. Here are some of the most common Robocopy Wildcard Examples. Wild Cards can only be used in the source when they are used in the file name. You can not use wild cards in the folder names.
Robocopy Examples – Wildcard Syntax
Example 1 – Copy all PDF files from c:\Data to d:\Data
robocopy "C:\Data\" "D:\Data\" *.pdf
Example 2 – Copy all files named Book regardless of extension
robocopy "C:\Data\" "D:\Data" "book*"
Click to rate this post!
[Total: 17 Average: 3.1]