Hello Guest it is April 19, 2024, 10:16:24 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cesar13

Pages: 1
1
Mach3 under Vista / PC shutdown
« on: March 31, 2017, 10:20:59 AM »
Hi!
I am trying to make a VB script that shutdowns Mach3 and the PC. Reading in some pages, I came across two possibilities:
1.- Shutting down using OEMButton 705.
2.- Shutting down using shell("shutdown.exe -s -t")

Both of them work, they close all the active programs at the moment and begin shutting down the PC. The problem is that it stays in the shutting down window and takes a lot of time for it to shutdown. Both possibilities. I even get desperate and push the reset button on my PC.

Any idea why this is happening? Or any other idea how to do this?

I thnak you all for your answer.

César

Pages: 1