Link to home
Start Free TrialLog in
Avatar of morinia
moriniaFlag for United States of America

asked on

Copying all files in one folder from another folder when file exists

Experts,

I have folders on my "C" drive in a folder called "Requests".  

ie.  C drive Path /Requests/Username/Request_No

I would like to copy all files in that folder to a network drive to a folder with the same Username/Request_No
ie Network Drive Path/Username/Request_No  (If file exists)

Can someone tell me the script in Windows to do this.
ASKER CERTIFIED SOLUTION
Avatar of Emmanuel Adebayo
Emmanuel Adebayo
Flag of United Kingdom of Great Britain and Northern Ireland image

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 morinia

ASKER

Will robicop you copy the files from my directory where they exist and leave whatever else is in the directory alone
Yes, but it will replicate whatever in the source directory to the destination directory in the same tree format using /MIR