Do more with
for /F "tokens=*" %%A in ('dir /b /a-d /tc /od "c:\source\*.*"') do (
move "c:\source\%%~A" "\\server\sharename\folder"
Open in new window
The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.
billprew, this is going to only copy the newest file, correct?
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.