PC에 cygwin이 깔려있어서 dos 명령이랑 cygwin 명령이 섞여있다. @echo off if not exist .tmp mkdir .tmp d:\programs\cygwin\bin\find . -maxdepth 1 -name '*.xml' -newer .lastupload | xargs -I {} cp {} .tmp/ d:\programs\cygwin\bin\find . -maxdepth 1 -name '*.properties' -newer .lastupload | xargs -I {} cp {} .tmp/ call pscp.cmd -P 2200 .tmp/* weblogic@hiratwas:/SYSTEM/wls11g/server_restart/ del .tmp\* /q touch .lastupl..