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 ...
If you copy shared folders through a normal Windows interface, it will not retain the share permissions of the folder or the files contained within the folder. First change inherited permissions to ...