Run exe on computer in network through batch file
- by Peter Kottas
I have few computers connected to the network and I want to create batch files to automatize the process of working with them. I have already created one used to shutdown computers at once. It is very simple I ll just post it for the sake of argument.
@echo off
shutdown -s -m \\Slave1-PC
shutdown -s -m \\Slave2-PC
shutdown -s -m \\Slave3-PC
Now I want to execute programs on these machines. So lets say there is "example.exe" file located "\Slave1-PC\d\example.exe"
using
call \\Slave1-PC\\d\\example.exe
runs it on my computer through network and i didn't come up with anything else. I dont want to use any psexec if possible.
Help would be much appreciated.
Peter