@echo off set PRO_PATH=%~dp0..\..\..\proj_laya set TOOL_PATH=%~dp0..\..\..\..\_tools\ExcelTool set OUT_PATH=%~dp0\OutPut del /q /s %OUT_PATH%\*.* node %TOOL_PATH%\src\main.js %~dp0 %PRO_PATH% del /q /s %PRO_PATH%\bin\res_pt\json\*.* del /q /s %PRO_PATH%\laya\assets\res_pt\json\*.* xcopy %OUT_PATH%\json %PRO_PATH%\laya\assets\res_pt\json /s /y /i xcopy %OUT_PATH%\json %PRO_PATH%\bin\res_pt\json /s /y /i ::xcopy %OUT_PATH%\Data.json %PRO_PATH%\bin\res\json /s /y /i pause exit