Hi!
I'm new and I'm not very expert with the basic code.
How can I shutdownn the pc whithout using a file batch or some elements out of my program?

This may help.

also try --- Shell "shutdown -s"

thanks for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.