-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgrabconfigs.bat
More file actions
22 lines (17 loc) · 1.06 KB
/
grabconfigs.bat
File metadata and controls
22 lines (17 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
REM GRAB configs
call:COPYCONFIGS pnyugc03
call:COPYCONFIGS pnymktplweb01
call:COPYCONFIGS pnyordsweb01
call:COPYCONFIGS pnyivr01
call:COPYCONFIGS pnycloudcart01
GOTO:EOF
:COPYCONFIGS
robocopy \\%1\c$\windows\system32\drivers\etc \\Bnyfsfile04\serverconnections\configs\%1 hosts /e /r:1 /w:1
robocopy \\%1\c$\winnt\system32\drivers\etc \\Bnyfsfile04\serverconnections\configs\%1 hosts /e /r:1 /w:1
robocopy \\%1\d$\Oracle \\Bnyfsfile04\serverconnections\configs\%1\Oracle tnsnames* /s /XD assistants BIN cdata cfgtoollogs css diagnostics has install inventory jdbc jdk jlib jre ldap lib nls oci ODP.NET oledb OPatch oracore oui owm plsql precomp RDBMS relnotes slax sqlplus srvm sysman uix xdk SAMPLE tools
robocopy \\%1\d$\Components \\Bnyfsfile04\serverconnections\configs\%1\Components *.* /e
robocopy \\%1\d$\dotnetconfig \\Bnyfsfile04\serverconnections\configs\%1\dotnetconfig *.* /e
robocopy \\%1\d$ \\Bnyfsfile04\serverconnections\%1\configs web.config /s
robocopy \\%1\d$ \\Bnyfsfile04\serverconnections\%1\configs global.asa /s
GOTO:EOF