Free for PREMIUM members
Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.
IF EXIST("C:\Program Files\Program\Flagfile.flg")
COPY "\\sourceserver\sourceshare\*.*" "C:\Program Files\Program\*.*" /Y
Open in new window
flagFile = "c:\program files\someprogram\somefile.txt"
If flagFile.FileExists("c:\program files\someprogram\somefile.txt") Then
'Do Nothing because it's done
Set WshShell = WScript.CreateObject("WScript.Shell")
'nb the trailing \ avoids the prompt asking whether target is file or directory
wshshell.run ("xcopy sourcefolder targetfolder\ /T /E")
In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.