Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2003
    Posts
    130

    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. #2
    Join Date
    Aug 2003
    Posts
    5

    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....

  3. #3
    Join Date
    Jul 2002
    Location
    Towson, MD USA
    Posts
    16

    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

  4. #4
    Join Date
    May 2003
    Posts
    130

    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.

  5. #5
    Join Date
    Jun 2000
    Location
    England
    Posts
    200

    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

  6. #6
    Join Date
    May 2003
    Posts
    130

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

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

  7. #7
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts