Windows Server 2005

XCOPY "\\14.4.7.10\d$\FTP\TEST\Prod\*.txt" "D:\MANU" /D /E /C /R /I /K /Y
PAUSE

---This works perfectly

XCOPY "\\14.4.7.10\d$\FTP\TEST\Prod\*.txt" "D:\MANU" /D /E /C /R /I /K /Y /DA#24H 
PAUSE

---when I add the portion in red it fails


Any ideas?

It appears that the /DA#24H is an invalid switch. What are you trying to accomplish with this switch? It also appears that /D is an invalid switch. The following link is from microsoft support on the use of xcopy switches -
http://support.microsoft.com/kb/289483

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.