Write Batch files to script (Jython)


I have a batch file (potchi.bat) that contains the lines
set maxHeap = 2048
set initialHeap = 512
and I want to pass these values to a jython script (myScript.py)
such that

AdminTask.setJVMMaxHeapSize('[-serverName myServer -nodeName myNode -maximumHeapSize %maxHeap%]')
AdminTask.setJVMInitialHeapSize('[-serverName myServer -nodeName myNode -initialHeapSize %initialHeap%]')


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!