MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically.
freedavis posted a topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)I have the below vbscript and need to add a line to be able to move this to three servers. Any help appreciated on this questions. Set FSO =CreateObject("scripting.FileSystemObject") FSO.CopyFolder "C:\inetpub\wwwroot\Pre-Release\*", "C:\inetpub\wwwroot\ErOne" ,True FSO.CopyFile "C:\inetpub\wwwroot\Pre-Release\*", "C:\inetpub\wwwroot\ErOne", True MsgBox"Deployment completed, Goodbye", vbInformation, "Script Informer" This vbscript when executed, copied entire folder content from pre-release folder to the ErOne folder. Is there a way edit this script to do this on two others servers from one server? Would like to be able to execute this on one server and it pushes to two other servers also.