2 ms·
Sure... @echo off pause robocopy "C:\Users\o\Desktop\2023" "D:\2023" /e /mir /np /v /tee /r:0 /w:0 /log+:"C:\Users\o\Desktop\log_robocopy.txt" pause @echo
by ssdpain 4y ago
Sure...
@echo off
pause
robocopy "C:\Users\o\Desktop\2023" "D:\2023" /e /mir /np /v /tee /r:0 /w:0 /log+:"C:\Users\o\Desktop\log_robocopy.txt"
pause
@echo on
- skissane 4y agoYou don’t need to turn echo back on at the end of your batch file. That line is pointless.
- thrdbndndn 4y agoAnd don't need /e since /mir=/e /purge
- ssdpain 4y agoThanks. This script has adapted over time and I need to lookup most of the switches these days to remind me what they do.