Skip to content

Instantly share code, notes, and snippets.

@langheran
Created July 11, 2024 16:18
Show Gist options
  • Save langheran/9d5d1b9dd897f6d2ca082d88af00144a to your computer and use it in GitHub Desktop.
Save langheran/9d5d1b9dd897f6d2ca082d88af00144a to your computer and use it in GitHub Desktop.
C:\Users\NisimHurst\NDS\scripts\convert_puml2png.bat
@echo off
REM Ensure PlantUML jar file path is correct
set PLANTUML_JAR=C:\Bin\plantuml.jar
REM Loop through all .puml files in the current directory
for %%f in (*.puml) do (
echo Converting %%f to PNG...
java -jar "%PLANTUML_JAR%" %%f
)
echo Conversion complete!
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment