using batch file to copy files multiple times

October 29, 2010 at 07:58:59
Specs: Windows 7
I need to copy a file to my desktop 7 times, I have:

copy f:\pumpkin.jpg c:\users\sims\desktop

That copies it once but isnt there a way to have it copy the file 7 times without using 7 different command lines?


See More: using batch file to copy files multiple times

Report •

#1
October 29, 2010 at 08:33:34
for /L %%i in (1 1 7) do (
copy f:\pumpkin.jpg c:\users\sims\desktop
)


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question