Copy Contents From Folder Using Wildcard On The Directory
问题 I have a directory which contains CSV files needing to be moved to another directory: C:\Users\JohnSmith\Desktop\Testing\report-20180819040000-20180826040000-4 We receive a new file weekly where the dates in the directory name will be updated. I want to create a batch file to copy this data using a wildcard on report* but I am running into some issues. The wildcard appears to work without any issues when I first navigate to: C:\Users\JohnSmith\Desktop\Testing\ then use: dir report* It also