Created
September 21, 2009 20:09
-
-
Save alohasoftworks/190517 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM Copies files and folders from deploy directory to web server. | |
| REM NOTE: If there are changes to Web.config, they will need to | |
| REM be manually deployed. | |
| SETLOCAL | |
| SET _fromDir="C:\Users\jwest\Desktop\Deploy" | |
| SET _toDir="\\networkserver\share1" | |
| SET _toDir2="\\networkserver\share2" | |
| robocopy %_fromDir% %_toDir% *.* /E /XO /XF "Web.config" "*.tmp" /NDL | |
| robocopy %_toDir% %_toDir2% *.* /E /XO /NDL /XF "*.tmp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment