cd /d %~dp0 set Config=%1% if "%Config%"=="" (set Config=Release) set ProjectPath="F:\C#Lib3.0 %Config%" xcopy /y /c /h /r /s %ProjectPath%\*.* %CD%\