1. Create an empty directory, named updatesite, which placed app_ffline.htm file, update access to the site using random content
2. Create updatesite directory Release directory for placing the updated dll file
3, put the code into the bat file, perform updates
@echo off
set updatePackRootPath=E:\updatesite
set updateWebPath=E:\wisdom
% =% updatePackRootPath offlineFilePath SET \ app_offline.htm
SET updateSourcePath updatePackRootPath% =% \ Release
echo ******************************* ***********
echo * Make sure the following updated information
echo * updated package path:% updatePackRootPath%
echo * updated the destination path:% updateWebPath%
echo * press any key to begin the update
echo ****** ************************************
pause
echo begin the update
call xcopy %offlineFilePath% %updateWebPath% /s /Q /Y /I
call xcopy %updateSourcePath% %updateWebPath% /s /e /Q /Y /I
del %updateWebPath%\app_offline.htm
echo the update is complete
pause