REM update.bat
@echo off
if not exist %1 goto help
for %%i in (*.*) do (
if exist "%~1\%%i" echo update %%i & copy /y "%~1\%%i" > nul
)
goto end
:help
echo Update files from a folder to current folder
echo Usage:
echo update [source_dir]
echo.
:end