I wrote a little VBscript that calls a JAR-file over a command-line.
When I double-click on the VBscript file it runs, as it should. I am logged in with a administrator account.
call testSub()
Sub testSub()
CreateObject("Wscript.Shell").Run "java -jar " & "c:\test\UntisSMTP_SMS.jar " & "aaaa ", 0, true
End Sub
but when hMailServer
( run as local system ) should call the jar, nothing happens and I get a error message
Script Error: Source: (null) - Error: 80004005
I googled the error and I found a hint that, the problem comes from not valid access rights
Is there a way, how hMailServer can start the jar ?
Many thanks in advance