is there any way to shutdown windows 10 from Control RTE?
For example, a simple button when I press it, shutdown windows.
Ok, I found the solution in this post:
Anyway, thank you.
For other users, this is the code I use with Control RTE SL to shutdown windows.
IF xShutdown THEN
SysProcess.SysProcessExecuteCommand('shutdown -s -t 1', ADR(Result));
xShutdown := FALSE;
And that's all.
Log in to post a comment.