make.bat
440 Bytes
@SET EXCEL_FOLDER=.\
::表格输出目录
@SET JSON_FOLDER=..\trunk\Marbles\assets\resources\data
@SET EXE=.\excel2json\excel2json.exe
::@ECHO Converting excel files in folder %EXCEL_FOLDER% ...
for /f "delims=" %%i in ('dir /b /a-d /s %EXCEL_FOLDER%\*.xlsx') do (
@echo processing %%~nxi
@CALL %EXE% --excel %EXCEL_FOLDER%\%%~nxi --json %JSON_FOLDER%\%%~ni.json --header 3 --exclude_prefix Column --cell_json true -a
)
pause