feat: Add UPDATE.BAT redirect to DEPLOY.BAT in proper location

Created UPDATE.BAT in test root that redirects to the correct
DEPLOY.BAT location in T:\COMMON\ProdSW\ with proper argument passing.

Changes:
- UPDATE-ROOT.BAT: New redirect file that calls DEPLOY.BAT with %1
- fix-root-bat-files.ps1: PowerShell script to deploy UPDATE.BAT and
  delete old DEPLOY.BAT from root
- Deployed UPDATE.BAT to AD2:C:\Shares\test\UPDATE.BAT (syncs to NAS)
- Deleted DEPLOY.BAT from root (only exists in COMMON\ProdSW\ now)

Usage:
  T:\UPDATE.BAT TS-4R  (calls T:\COMMON\ProdSW\DEPLOY.BAT TS-4R)

Benefits:
- Shorter path for users (T:\UPDATE.BAT vs T:\COMMON\ProdSW\DEPLOY.BAT)
- Backward compatible with old workflows
- No duplicate DEPLOY.BAT files
- Proper argument passing for machine name

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-19 19:10:22 -07:00
parent 379085895e
commit 8b33a42636
2 changed files with 38 additions and 0 deletions

5
UPDATE-ROOT.BAT Normal file
View File

@@ -0,0 +1,5 @@
@ECHO OFF
REM UPDATE.BAT - Redirect to DEPLOY.BAT in proper location
REM Usage: UPDATE.BAT machine-name
REM Example: UPDATE.BAT TS-4R
CALL T:\COMMON\ProdSW\DEPLOY.BAT %1