copy files recursively cmd

S:\lim2021fwd>for /r %i in (“P207.mdb”) do xcopy /Y “%i” s:\someplace

If you are using this in a batchfile you should double the % like this:

for /r %%i in (foo???.txt) do xcopy /Y "%%i" g:\someplace