Running dos command remotely
I have client running on Win98 machine and server running on Win2KPro. I need to run some command for pre-setup server before I run test script on the client machine. So, I have two different machines for client and server and I have to run pre-set command on the server machine from my test script that I have on client machine.
Does anyone have idea how to do so?
Thanks in advance,
Re: Running dos command remotely
There's a tool called psexec (you can download it at http://www.sysinternals.com/ntw2k/fr.../psexec.shtml) that allows you to start programs on a remote computer.
It's quite easy to use:
psexec \\RemoteComputer -u Username -p Password ProgramPathOnRemoteComputer\\ProgramName
You can start psexec from WR by using dos_system.