Update build_example_web.bat

This commit is contained in:
Ray
2025-08-02 17:58:44 +02:00
parent b01c8a7a90
commit 159a9eac4a

View File

@@ -1,10 +1,10 @@
::@echo off
:: .
:: Compile your examples for web using: build_example_web.bat <example_category>\<example_name>
:: Compile your examples for web using: build_example_web.bat <example_category>/<example_name>
:: .
set "INPUT_FILE=%1"
:: Change delimiter for the FOR loop
for /f "tokens=1-10 delims=\" %%a in ("%INPUT_FILE%") do (
for /f "tokens=1-10 delims=/" %%a in ("%INPUT_FILE%") do (
set CATEGORY=%%a
set FILENAME=%%b
)