Register now or log in to join your professional community.
<p>i want to run <strong>test.bat</strong> located on <strong>D Drive </strong>of "A" computer or say on the computer having ip192.168.1.3 from "computer B" having ip192.168.1.10 in a LAN Network</p> <p> </p>
I am assuming you have full access to both computers, as you haven't stated otherwise. You could use a UNC path using the default share, such as \\\\192.168.1.3\\D$\\test.bat or you could map a drive to that UNC path.
You would require access to that UNC path. This "should" work, depending on what test.bat does....
i assume that your D drive is shared, and u have full access on both computers
u can just open explorer and go to : \\\\192.168.1.3\\D , locate the file test.bat and execute it
to avoid issue i would recommend u to copy the file on the computer where u want to execute it.
Why exactly do you even want to do that? .. Just copy the file to the computer in question and run it. It's the same concept as accessing files and folders from the network. UNC or Windows explorer are your friends. You should share the D: drive if you are going to use the latter since hidden shares aren't visible in explorer. \\\\..1.3\\D$ will do what you need. However, I assume you meant how to make that batch file map a drive or does some any other action on the network.
you should make a telnet connection through port 21 to the system. after that go to the location of the bat file and just execute it. thats all.