We help IT Professionals succeed at work.

running a batch file from a .cmd file on another computer

DoubtMan
DoubtMan used Ask the Experts™
on
Hello,
I have currently logged into computer A, and wants to run a batch file located in computer B. The script to run this batch file from computer B will be scheduled as a windows job in computer A. How can this be done?

What are the pre-conditions required for this to happen?

Keep in mind computer B's batch file contains references to local drives on that machine. For example when we execute the .bat file on comptuer B, it may try to run log files on its E drive.

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Many thanks.
That was a perfect solution..