Saturday, February 19, 2011

use batch file to call another batch file from different comp

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?

From stackoverflow
  • 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.

  • Why not use UNC naming? As in

    ThisComputer.bat

       @echo on
        dir *.whatever
        call \\ServerName\C$\YourFolder\OtherComputer.bat
    

0 comments:

Post a Comment