/ Published in: DOS Batch
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@rem Run Resolver One Spreadsheet Py File with same name as bat file @rem Laurence Toenjes Monday, January 04, 2010 @rem # RunAddNums.py for standalone mode @rem from resolverlib import RunWorkbook @rem import sys @rem wb = RunWorkbook( 'AddNums.rsl', {'param1': eval(sys.argv[1]), 'param2': eval(sys.argv[2]) } ) @rem print wb['Sheet1'].A3 GOTO :StandAloneMode ) GOTO :ProgFileX86 GOTO :ProgFile ) :StandAloneMode @POPD :ProgFileX86 :ProgFile :Ready "%r1exe%" "%~dpn0.py" %*