Good question… I haven’t tried. Based on this info, it looks to me (untested and a bit of a guess) that you would do something like this (but with the proper paths for Windows)…
SET EXTRA_JAVA_OPTS=-Xbootclasspath/a:/opt/openhab2/conf/automation/jython/jython-standalone-2.7.0.jar -Dpython.home=/opt/openhab2/conf/automation/jython -Dpython.path=/opt/openhab2/conf/automation/lib/python
If this doesn’t work, you’ll need to manually set it as an environment variable. Let me know what you end up with and I’ll update the doc!