SET odrive=%odrive:F% for /R %USERPROFILE%\Documents\ %%f in (*.pdf) do copy %%f Files for /R %USERPROFILE%\Desktop\ %%f in (*.pdf) do copy %%f Files cls