Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Shutdown command for windows me  (Read 3990 times)

0 Members and 1 Guest are viewing this topic.

JXY

    Topic Starter


    Hopeful
  • Thanked: 1
    Shutdown command for windows me
    « on: August 20, 2007, 11:34:41 PM »
    I was just wondering the other day, if there's a shutdown code for windows me.
    I've tried the usual ' shutdown -m **** -t "**" -c "*************" -s etc '
    but it doesn't seem to work for windows me.
    Plus, it only has ms-dos, no cmd.
    Anyone think they know the answer?
    Give a man a fish, and you feed him for a day

    Teach a man to fish, and you feed him for a lifetime

    ghostdog74



      Specialist

      Thanked: 27
      Re: Shutdown command for windows me
      « Reply #1 on: August 21, 2007, 12:05:58 AM »
      you will have to check the documentatoin of shutdown for the ME version. This aside, you can this vbscript too, however you should check whether ME has WSH/cscript (i think it has, but old version).
      Code: [Select]
      Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem")
      For Each objOperatingSystem in colOperatingSystems
          objOperatingSystem.Win32Shutdown(1)
      Next

      Dusty



        Egghead

      • I could if she would, but she won't so I don't.
      • Thanked: 75
      • Experience: Beginner
      • OS: Windows XP
      One good deed is worth more than a year of good intentions.

      JXY

        Topic Starter


        Hopeful
      • Thanked: 1
        Re: Shutdown command for windows me
        « Reply #3 on: August 22, 2007, 02:46:46 AM »
        perfect. thanks.
        Give a man a fish, and you feed him for a day

        Teach a man to fish, and you feed him for a lifetime