Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Xcopy problem

  • 17-11-2013 3:18pm
    #1
    Closed Accounts Posts: 414 ✭✭


    Have a wee batch file that I use for backups.

    Problem now is that it only copies over approx two thirds of one folder contents.

    I initially thought that the destination drive was full, so I changed the target drive to an empty one to test, but it still only copies a portion of the folder.

    It's the second line that isn't working properly, the 'Documents' folder. All the others are working fine :confused:

    I've tried it both with & without the 'c' switch, makes no difference.

    XCOPY "C:\Users\Office\Desktop\*.*" "Z:\Backup\Admin\Desktop" /d/s/e/y/c

    XCOPY "E:\Documents\Documents\*.*" "Z:\Backup\Admin\Documents" /d/s/e/y/c

    XCOPY "E:\Music\Music\*.*" "Z:\Backup\Admin\MP3" /d/s/e/y/c

    xcopy "E:\Pictures\Pictures\*.*" "Z:\Backup\Admin\Pictures" /d/s/e/y/c

    xcopy "E:\Videos\*.*" "Z:\Backup\Admin\Videos" /d/s/e/y/c

    xcopy "E:\Music\iTunes\*.*" "Z:\Backup\Admin\iTunes" /d/s/e/y/c

    XCOPY "E:\Audio\*.*" "Z:\Backup\Admin\Audio" /d/s/e/y/c

    XCOPY "E:\Downloads\*.*" "Z:\Backup\Admin\Downloads" /d/s/e/y/c


Comments

Advertisement