Avatar of Starr Duskk
Starr Duskk
Flag 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!
Windows Batch* Robocopy

Avatar of undefined
Last Comment
Starr Duskk

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Bill Prew

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
NVIT

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Arana (G.P.)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Starr Duskk

ASKER
I haven't had a chance to try the solutions yet, but thanks everyone!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck