I want to copy files from one directory to another. I can use the FileCopy command and get this to work but I have to hard code each file name and its path. Is there away to use wild cards to do something like this??
This code works
FileCopy "C:\Temp\file.xls", "F:\completed\file.xls"
This code does not. But this is what I want to do
FileCopy "C:\Temp\*.xls","F:\completed\"
This code works
FileCopy "C:\Temp\file.xls", "F:\completed\file.xls"
This code does not. But this is what I want to do
FileCopy "C:\Temp\*.xls","F:\completed\"