Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Become a Premium Member and unlock a new, free course in leading technologies each month.
cd \
robocopy /MIR /fft /XO "H:\Computer stuff" "C:\offlinefiles\compstuff"
robocopy /MIR /fft /XO "H:\MyDocs" "C:\offlinefiles\mydocs"
robocopy /MIR /fft /XO "H:\MyDocuments" "C:\offlinefiles\mydocuments"
robocopy /MIR /fft /XO "H:\Printer Stuff" "C:\offlinefiles\printerstuff"
robocopy /MIR /fft /XO "C:\offlinefiles\compstuff" "H:\Computer stuff"
robocopy /MIR /fft /XO "C:\offlinefiles\mydocs" "H:\MyDocs"
robocopy /MIR /fft /XO "C:\offlinefiles\mydocuments" "H:\MyDocuments"
robocopy /MIR /fft /XO "C:\offlinefiles\printerstuff" "H:\Printer Stuff"
I thought it was working fine until today when i made a copy of an excel document. so for example there is an excel document, let's call it doc1, and i copied all the sheets from excel doc1 to excel doc2. then i ran my batch file to create my "offline" files, but the robocopy batch is removing doc2. So just to be sure i didn't misplace excel doc2, I copy the excel documents again, and ran the batch file, and sure enough, after running the batch, excel doc2 is gone. Add your voice to the tech community where 5M+ people just like you are talking about what matters.
cd \
@ Here you are copying from your storage space to your computer
robocopy /MIR /fft /XO "H:\Computer stuff" "C:\offlinefiles\compstuff"
robocopy /MIR /fft /XO "H:\MyDocs" "C:\offlinefiles\mydocs"
robocopy /MIR /fft /XO "H:\MyDocuments" "C:\offlinefiles\mydocuments"
robocopy /MIR /fft /XO "H:\Printer Stuff" "C:\offlinefiles\printerstuff"
@ Here you are copying from your computer to the storage space
robocopy /MIR /fft /XO "C:\offlinefiles\compstuff" "H:\Computer stuff"
robocopy /MIR /fft /XO "C:\offlinefiles\mydocs" "H:\MyDocs"
robocopy /MIR /fft /XO "C:\offlinefiles\mydocuments" "H:\MyDocuments"
robocopy /MIR /fft /XO "C:\offlinefiles\printerstuff" "H:\Printer Stuff"
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.