Batch file for netlogo headless broken

When I tried starting headless BehaviorSpace for the 7.1 preview version, I tried using the batch file (working on Windows).

The following error message was the result:

This must be an error in the batch script. It still works in NetLogo 7.0.3, but not in 7.0.4 anymore.

After this test, I realized I should have used NetLogo_Console.exe.
So, I consider this a minor issue.

1 Like

Hi Mark,

Thank you for reporting the issue. There was an incorrectly escaped character in the file; it is now fixed for the next release. If for some reason you need to use the batch file instead of NetLogo_Console, you can fix it in both netlogo-gui and netlogo-headless by changing -Dnetlogo.docs.dir=^"%BASE_DIR%" to -Dnetlogo.docs.dir=^"%BASE_DIR%\" on line 20.

Isaac B.

1 Like