Windows 10: Cannot xcopy to OneDrive Professional

Discus and support Cannot xcopy to OneDrive Professional in Windows 10 Network and Sharing to solve the problem; The following works for putting the file in a test folder in OneDrive Personal...xcopy "C:\test.docx" C:\Users\User\OneDrive\testBut the following does... Discussion in 'Windows 10 Network and Sharing' started by SachinD_MicroComm, May 23, 2022.

  1. Cannot xcopy to OneDrive Professional


    The following works for putting the file in a test folder in OneDrive Personal...xcopy "C:\test.docx" C:\Users\User\OneDrive\testBut the following does not work...xcopy "C:\test.docx" C:\Users\User\OneDrive - [***hidden***]\testI thought it might be due to difference in security on the folder, but they look identical.I get an error..."Invalid number of parameters"...when all I'm changing is the OneDrive to my OneDrive Professional folder.

    :)
     
    SachinD_MicroComm, May 23, 2022
    #1
  2. jciszek Win User

    Cannot xcopy to OneDrive Professional

    Hi everyone,

    I am stumped as to why I have not problem creating a .bat file to copy files from my harddrive to my personal OneDrive, but I cannot do the same to my OneDrive Professional. The following works for putting the file in a test folder in OneDrive Personal...

    xcopy "C:\test.docx" C:\Users\User\OneDrive\test

    But the following does not work...

    xcopy "C:\test.docx" C:\Users\User\OneDrive - [***hidden***]\test

    I thought it might be due to difference in security on the folder, but they look identical.

    Thank you and Happy New Year!
     
    jciszek, May 23, 2022
    #2
  3. jciszek Win User
    Cannot xcopy to OneDrive Professional

    I should have said that i get the error..."Invalid number of parameters"...when all i'm changing is the OneDrive to my OneDrive Professional folder.
     
    jciszek, May 23, 2022
    #3
  4. Cannot xcopy to OneDrive Professional

    Windows 10 - OneDrive

    Right click on the app and one of the properties has an option to not automatically start it. Uncheck, restart the computer, and it should stop. If you want to go another step further, find the OneDrive app in the start menu, right click on it and uninstall.

    If that is still insufficient, there is a batch uninstaller for OneDrive available online. I can copy the code here if you need it.
     
    FordGT90Concept, May 23, 2022
    #4
Thema:

Cannot xcopy to OneDrive Professional

Loading...
  1. Cannot xcopy to OneDrive Professional - Similar Threads - Cannot xcopy OneDrive

  2. Cannot xcopy to OneDrive Professional

    in Windows 10 Gaming
    Cannot xcopy to OneDrive Professional: The following works for putting the file in a test folder in OneDrive Personal...xcopy "C:\test.docx" C:\Users\User\OneDrive\testBut the following does not work...xcopy "C:\test.docx" C:\Users\User\OneDrive - [***hidden***]\testI thought it might be due to difference in...
  3. Cannot xcopy to OneDrive Professional

    in Windows 10 Software and Apps
    Cannot xcopy to OneDrive Professional: The following works for putting the file in a test folder in OneDrive Personal...xcopy "C:\test.docx" C:\Users\User\OneDrive\testBut the following does not work...xcopy "C:\test.docx" C:\Users\User\OneDrive - [***hidden***]\testI thought it might be due to difference in...
  4. xcopy not working

    in Windows 10 Network and Sharing
    xcopy not working: What am I doing wrong here?I want to copy c:\users\public all data into c:\users\xyz https://answers.microsoft.com/en-us/windows/forum/all/xcopy-not-working/961e4487-9041-4ea5-8ff8-fe9720b54449
  5. xcopy not working

    in Windows 10 Gaming
    xcopy not working: What am I doing wrong here?I want to copy c:\users\public all data into c:\users\xyz https://answers.microsoft.com/en-us/windows/forum/all/xcopy-not-working/961e4487-9041-4ea5-8ff8-fe9720b54449
  6. xcopy not working

    in Windows 10 Software and Apps
    xcopy not working: What am I doing wrong here?I want to copy c:\users\public all data into c:\users\xyz https://answers.microsoft.com/en-us/windows/forum/all/xcopy-not-working/961e4487-9041-4ea5-8ff8-fe9720b54449
  7. Using the xcopy command when also using OneDrive

    in Windows 10 Network and Sharing
    Using the xcopy command when also using OneDrive: My topic is the xcopy command. Like every year at the end of the year, I want to copy my empty folder structure for next year. The command for 2020 to 2021 that I successfully used was as follows: "C:\Users\Myname\Documents\Priv 2020" "C:\Users\Myname\Documents\Priv 2021" /T...
  8. Using the xcopy command when also using OneDrive

    in Windows 10 Gaming
    Using the xcopy command when also using OneDrive: My topic is the xcopy command. Like every year at the end of the year, I want to copy my empty folder structure for next year. The command for 2020 to 2021 that I successfully used was as follows: "C:\Users\Myname\Documents\Priv 2020" "C:\Users\Myname\Documents\Priv 2021" /T...
  9. Using the xcopy command when also using OneDrive

    in Windows 10 Software and Apps
    Using the xcopy command when also using OneDrive: My topic is the xcopy command. Like every year at the end of the year, I want to copy my empty folder structure for next year. The command for 2020 to 2021 that I successfully used was as follows: "C:\Users\Myname\Documents\Priv 2020" "C:\Users\Myname\Documents\Priv 2021" /T...
  10. Cannot xcopy to OneDrive Professional

    in Windows 10 Network and Sharing
    Cannot xcopy to OneDrive Professional: Hi everyone, I am stumped as to why I have not problem creating a .bat file to copy files from my harddrive to my personal OneDrive, but I cannot do the same to my OneDrive Professional. The following works for putting the file in a test folder in OneDrive Personal......