Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

robocopy finished with no error, with erroneous result on OneDrive for Business


  • You are using OneDrive for Bueiness.
  • You are trying to copy files to OneDrive with robocopy.


robocopy had finished with no error (with ERRORLEVEL 0), but the the size of the files on OneDrive is 0byte.


It seems the administrators of your OneDrive for Business activate storage quota for file size.


You should ask the administrators to remove the quota, or you can split the files with utilities like 7-zip.