XCopy 过程加日志
@echo on
set ymd=%date:~0,4%%date:~5,2%%date:~8,2%
set ymd_t=%ymd%_%time:~0,2%%time:~3,2%%time:~6,2%
iisreset demo
Xcopy \\jt\deploy\src\*.* E:\test_Deploy\ /s/e/r/y >> E:\Package/log/log-%ymd_t%.txt
Xcopy \\jt\deploy\src\WebUI\bin\*.dll E:\UPM_ReadyDeploy\WebUI\bin\ /s/e/r/y
Xcopy \\jt\deploy\src\WebUI\bin\*.pdb E:\UPM_ReadyDeploy\WebUI\bin\ /s/e/r/y
Xcopy \\jt\deploy\src\WebService\bin\*.dll E:\UPM_ReadyDeploy\WebService\Release\ /s/e/r/y
Xcopy \\jt\deploy\src\WebService\bin\*.pdb E:\UPM_ReadyDeploy\WebService\Release\ /s/e/r/y
iisreset demo
set ymd=%date:~0,4%%date:~5,2%%date:~8,2%
set ymd_t=%ymd%_%time:~0,2%%time:~3,2%%time:~6,2%
iisreset demo
Xcopy \\jt\deploy\src\*.* E:\test_Deploy\ /s/e/r/y >> E:\Package/log/log-%ymd_t%.txt
Xcopy \\jt\deploy\src\WebUI\bin\*.dll E:\UPM_ReadyDeploy\WebUI\bin\ /s/e/r/y
Xcopy \\jt\deploy\src\WebUI\bin\*.pdb E:\UPM_ReadyDeploy\WebUI\bin\ /s/e/r/y
Xcopy \\jt\deploy\src\WebService\bin\*.dll E:\UPM_ReadyDeploy\WebService\Release\ /s/e/r/y
Xcopy \\jt\deploy\src\WebService\bin\*.pdb E:\UPM_ReadyDeploy\WebService\Release\ /s/e/r/y
iisreset demo
走向地狱的途中,不小心走了程序员这条路,路上一个个黑心的老板,和暗无天日的加班,我才发现,通往地狱的路径中,我们这行是最短的。