Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Need a VBScript that calls a batch file to run on remote computers

$
0
0

Ok..!! I ve searched about it a lot and have decided to ask in scripting guys... Actually , I have a batch file which when executed will map a network drive and executes some applications on the computer i am executing. It works fine, then i need to do a silent installation of the batch file without the dos windows opened and i ve succeeded with the below vb script...

Now, My issue is i need to execute this VBscript in a remote machine from the background, so that the installation happens without user knowledge silently.. can anyone out there help me on this ??

WScript.Echo "Application X is being installed on your computer. Please do not restart / shutdown your machine and save all your work"
Set WshShell = CreateObject("WScript.Shell")
WshShell.RUN "cmd /c \\Serverpathl\filename.bat", 0


- Vinoth


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>