reboot using a batch file?
From: ib_redbeard (ibredbeard_at_discussions.microsoft.com)
Date: 12/30/04
- Next message: ib_redbeard: "reboot using a batch file?"
- Previous message: Ethertelecom: "List users not logged onto domain for over X number of days"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Dec 2004 06:59:02 -0800
I wanted to reboot a bunch of computers on my domain, and thanks to a
previous post, I found the command:
for /f %x in (machines.txt) do shutdown /m \\%x /r /t 0 /f
Its works perfectly when I inmput it directly the command prompt, but when I
have that in a batch file, it doesn't work. It gives me "-t was unexpected
at this time." I'v etried different things but can't get it to work. Any
idea how to get this to work in a batch file as it does when diectly inputted
into the command prompt? Thanks
- Next message: ib_redbeard: "reboot using a batch file?"
- Previous message: Ethertelecom: "List users not logged onto domain for over X number of days"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|