Robocopy element fail's in Robocopy but works fine in Copy command.

  • Thread starter Thread starter DennisCPA
  • Start date Start date
D

DennisCPA

Guest
Command Prompt Copy Command Prompt works fine: Copy "C:\Users\Dennis\Documents\Tax Data\*.T*" "F:\Tax Data"Following command works fine except the Bolded element: ~*.T*Robocopy "C:\Users\Name\Documents\Tax Data" "F:\Tax Data" *.* /XF ~*.xls* ~*.docx ~*.pdf ~*.txt ~*.T* /E /XO /COPY:DAT /R:2 /W:30 /Z /MAXAGE:360 /NJH /NJS /XX Background Information:1) Wish to copy the file "Taxes 2022.T23" to folder F:\Tax Data2) To inhibit too many files like *.txt being copied, I thought the following would work: *.T## meaning the two ## were Numeric, thus *.txt would not be copied.3) Any thoughts how to f

Continue reading...
 
Back
Top