Announcement

Collapse
No announcement yet.

Need shutdown/restart/logoff option in your AMS project?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need shutdown/restart/logoff option in your AMS project?

    I found a tiny little program that was made for XP for that very purpose, its command line utility that lets you do exactly that. [img]/ubbthreads/images/icons/smile.gif[/img]

    You can make it do the following:
    -Log Off the current user
    -Shutdown (Turn Off) the computer
    -Restart the computer
    -Hibernate the computer (note that hibernation has to be -enabled!)
    -Put the computer into Stand By (Sleep)

    Heres the link.

    I know i've seen a few people asking about this, and it seems to be a solid way of going about it. [img]/ubbthreads/images/icons/smile.gif[/img]

    Enjoy
    Adam

  • #2
    Re: Need shutdown/restart/logoff option in your AMS project?

    hi...
    you dont need this if you want shutdown use the action file.execute and put this:
    %SysDir%\shutdown.exe -s -t 00

    for reboot use this:
    %SysDir%\shutdown.exe -r -t 00


    bye....

    Comment


    • #3
      Re: Need shutdown/restart/logoff option in your AMS project?

      If you want something that works with all OSs (98 and higher), you can also use this free utility called WinShut. Available here http://www.obock.de/html/download1.html

      It, too, has a logoff option.

      Craig

      Comment


      • #4
        Re: Need shutdown/restart/logoff option in your AMS project?

        Well hmph, oh well. I found it and thought it may come in useful [img]/ubbthreads/images/icons/smile.gif[/img]

        Good to know theres an easy way of doing it without an external program.

        Comment


        • #5
          Re: Need shutdown/restart/logoff option in your AMS project?

          Hey element,

          Keep 'em coming. Enthusiasm is all !

          The success of a thread is often in the replies.

          Keep up the good work.

          Cheers

          J

          Comment


          • #6
            Re: Need shutdown/restart/logoff option in your AMS project?

            [img]/ubbthreads/images/icons/smile.gif[/img]

            Comment


            • #7
              Re: Need shutdown/restart/logoff option in your AMS project?

              oh no, not the dancing banana!
              TJ-Tigger
              "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
              "Draco dormiens nunquam titillandus."
              Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

              Comment

              Working...
              X