I have 2 share folders

\testing\test1 which contain sub folders sub1,sub2,sub3,sub4,sub5
and
\testing\test2 which contain sub folders sub2,sub3
Need to know how to create a batch file on notepad to verify existance of sub folders from test1 and create them on test2 only if they do not exist in test 2

xcopy with /t and /e options will do this. Type xcopy /? for details.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.