Link to home
Start Free TrialLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

Convert windows batch to robocopy

I'd like to convert this command to use Robocopy instead of Xcopy. I apparently might have paths that are too long. Getting insufficient memory errors with plenty of memory.

xcopy D:\Webs\WebSolution\*.*                   G:\BranchBups\Cleanups\Hourly\WebSolutionXXX%FILENAME%\*.* /e /Exclude:ExcludeHourly.txt

Can someone assist me with that? I can't find a robocopy equivalent to excluding files based on what is in the text file.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Starr Duskk

ASKER

I haven't had a chance to try the solutions yet, but thanks everyone!