I need to execute a .bat file on WIN10 from servoy.
It seems that it fails due do the win10 rights management ( Java Error #740 ).
Tried converting into .exe (admin) or shortcut - but it fails.
Starting the .bat directly from the desktop works.
How can i solve the problem ? Think i need to execute the .bat as admin directly from servoy ?!
Yes I think application.executeProgram is a bit more low level (and batch files cannot be interpreted directly by that) while plugins.file.openFile is more the equivalent of a “start” command in case of Windows.
So - I didn’t try it - but something like this might work (give it something to interpret the .bat file with): application.executeProgram(“cmd”, [“/c”, “your.bat”])