1.

Solve : call DOS script in Remote server?

Answer»

i WANT to execute a DOS batch file in remote server. how to invoke script in remote server?? PLS advicedepends what your after;

if the script is on the remote server and you want it to run on a local machine, just "start \\servername\path\to\batch\file.bat" will do the job.

if however you want it to run on the server it's self then you'll need some 3rd party TOOLS. I recommend Pstools as it free and has loads of useful features. One of them is psexec.

Basic usage;

C:\pstools\psexec \\servername C:\path\on\server\to\batch\file.bat

useful link;

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

Hope it helps.



Discussion

No Comment Found