First, you have to create a script to copy files from the source folder to the destination folder. We will use the xcopy command for this. The syntax of the command will be as follows: xcopy "path of ...
You can share files and folders on OneDrive from within Office apps, from your desktop, or from the OneDrive website.