Reputation:
Is it possible to use batch file (for XP) to call another batch file from different computer? if yes, how identify the target computer? Is it by IP comp ID?
Upvotes: 2
Views: 7079
Reputation: 8088
Why not use UNC naming? As in
ThisComputer.bat
@echo on
dir *.whatever
call \\ServerName\C$\YourFolder\OtherComputer.bat
Upvotes: 3
Reputation: 47482
You can do this using psexec from Sysinternals/Microsoft.
The computer name can be specified either by name (assuming name resolution works on the network) or IP address.
Upvotes: 3