Code
rem 设置源目录和目标目录
@set copyPath=F:\storagemanage
@set targetPath=F:\Store
rem 复制文件
@xcopy %copyPath%\*.dll %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.pdb %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.aspx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.asax %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.htm %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.html %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.config %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.ascx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.ashx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.jpg %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.gif %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.js %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.css %targetPath%\ /D /S /Y
rem 设置源目录和目标目录
@set copyPath=F:\storagemanage
@set targetPath=F:\Store
rem 复制文件
@xcopy %copyPath%\*.dll %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.pdb %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.aspx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.asax %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.htm %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.html %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.config %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.ascx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.ashx %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.jpg %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.gif %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.js %targetPath%\ /D /S /Y
@xcopy %copyPath%\*.css %targetPath%\ /D /S /Y