by Balaji on July 17th, 2004

Balaji

Question

Help answer this question below.

Is it possible to create an exe file that will shut down my Windows PC?

Answers. Showing one answer.

  • by Shadowb170 on August 28th, 2005

    Shadowb170

    One way is, if your using an earlier version of windows (such as 98fe), and you have a compiler for C++, such as the free one on borlands site, then using a system function to open power.com in the commands folder, should work. power.com is not a slow off, its like hitting the master power. Instant off. May want to use a find utility to verify power.com is in the command folder first.

    //Filename:turnOff.cpp
    //Just a programming answer.
    void main()
    {
    system("C:windowscommandpower.com");
    }

    Comments
    • How do you make a file that will shut down windows xp?

      Fatfoddy

      by Fatfoddy on February 10th, 2006

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading Is it possible to create an exe file that will shut down my Windows PC?

Follow us on Facebook!

Related Ads