Â
:::::::::::::::::::::::::::::
:: LOOP.BAT
:: Compares Replaceable parameters
@ECHO OFF
:TOP
IF (%1)==() GOTO END
ECHO Value is “%1″ and still running…
SHIFT
GOTO TOP
:END
:::::::::::::::::::::::::::::
:::::::::::::::::::::::::::::
::Make a list of all files(names) in folder1
dir /b “c:\folder1″ >>filelist.txt
::Goes trough every line in filelist
:: %%i contains the filename
for /f %%i in (filelist.txt) do
(
copy “c:\folder2\logo.png” “c:\folder2\%%i”
)
del filelist.txt
:::::::::::::::::::::::::::::