Large copy job of web.configs

set TIMESTAMP=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%-%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%

md \\10.0.254.11\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.11\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.12\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.12\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.13\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.13\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.14\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.14\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.15\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.15\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.16\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.16\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.17\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.17\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.18\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.18\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.19\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.19\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.20\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.20\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.21\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.21\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.22\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.22\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.23\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.23\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.24\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.24\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.25\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.25\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.26\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.26\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.27\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.27\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.28\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.28\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.29\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.29\C$\Backups\”%1\%TIMESTAMP%”\
md \\10.0.254.30\c$\Backups\”%1\%TIMESTAMP%”\
copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.30\C$\Backups\”%1\%TIMESTAMP%”\

pause

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply