batch file noob - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Windows Noob (https://www.linux-noob.com/forums/forum-5.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-70.html) +--- Thread: batch file noob (/thread-2255.html) |
batch file noob - arbalest - 2006-01-13 How would I shut down a networked computer remotely, with a batch file? Im guessing it has something to do with ending the svchost.exe process. I can get to another computer, with a simple: @echo off start \\"network name"-"computer name" \c$\ and im able to view the files. but I dont know how to run a command on that computer, let alone shut it down. So if anyone could give me some helpful tips, it would be greatly appreciated. Other fun things to do with batch files on networks would be awesome as well. batch file noob - dspln - 2006-01-13 AFAIK, what you posted will let you execute remote programs on the local computer - not what you want. To just shutdown/reboot a computer I guess you could use shutdown :) Code: E:\>shutdown /? I used to use rcmd (from NT Resource kit) for arbitrary remote commands: Code: E:\bin\NTRESKIT>rcmd /? batch file noob - arbalest - 2006-01-14 thanks alot. |