would you please let me kno how can I copy multiple directories located in different locations to a backup directoy
sources(directories) are D:\share\t1 , D:\new\t3 , C:\media\t4 F:\save\bank destination directory is C:\shared\backup
thanks in advance
Why not a for
loop? I love it and it is the best fit for this arcane question:
For %%a in (
"D:\share\t1"
"D:\new\t3"
"C:\media\t4"
"F:\save\bank"
) do (
xcopy /s /d "%%~a" "c:\shared\backup"
)