@rem $Id$ @echo off if "%2"=="." goto ne if exist _.tmp erase _.tmp rem >_.tmp copy /B %1+_.tmp %2 erase _.tmp goto x :ne copy /B %1 %2 :x