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

Author Topic: Restart Windows 2000 batch file  (Read 8508 times)

0 Members and 1 Guest are viewing this topic.

ABIAMDTECH

    Topic Starter


    Rookie

    Restart Windows 2000 batch file
    « on: January 29, 2009, 01:44:36 PM »
    I have read "How to shut down/restart the computer with a batch file" guide (http://www.computerhope.com/issues/ch000321.htm). Tried it out but it's not working. Please assist.

    batch file code
    ===========================
    START C:\Windows\RUNDLL.EXE user.exe,exitwindowsexec
    exit

    ===========================


    Error message
    ===========================
    Cannot find the file ‘C:\Windows\RUNDLL.EXE’ (or one of its components). Make sure the path and filename are correct and that all required libraries are available.
    ===========================

    BatchRocks



      Hopeful
    • Thanked: 3
      Re: Restart Windows 2000 batch file
      « Reply #1 on: January 29, 2009, 01:46:52 PM »
      I have read "How to shut down/restart the computer with a batch file" guide (http://www.computerhope.com/issues/ch000321.htm). Tried it out but it's not working. Please assist.

      batch file code
      ===========================
      START C:\Windows\RUNDLL.EXE user.exe,exitwindowsexec
      exit

      ===========================


      Error message
      ===========================
      Cannot find the file ‘C:\Windows\RUNDLL.EXE’ (or one of its components). Make sure the path and filename are correct and that all required libraries are available.
      ===========================

      Shutdown
      Code: [Select]
      shutdown /s
      Restart
      Code: [Select]
      shutdown /r
      Logoff
      Code: [Select]
      shutdown /l
      I don't see your problem, you don't have any shutdown's in it.