This does not work anymore:
java -jar %~dp0\plantuml\plantuml.jar -o diagrams source\*.diag
Files are always placed in the source folder with the uml code. I have tried using quotes, double backslash absolute names, relative directory paths (to the source), relative paths (to working directory) etc. I have also tried with a .puml extension, no joy.