Windows Batch Copy file by filename Windows Batch Copy file by filename windows windows

Windows Batch Copy file by filename


This should work, you can use an * as a wildcard:

xcopy e:\foo\rpt*.txt e:\foo2

or in your case,

xcopy C:\Report\rpt*.txt F:\Project\Report\