@echo off REM --------------------------------------------------------------------------- REM DJB 커스텀 소스 납품본 수집 (Windows cmd 래퍼) REM REM 실제 로직은 export-custom.ps1 에 있다. 이 배치는 PowerShell 을 띄우고 REM 전달받은 인자를 그대로 넘기기만 한다. REM REM 사용 예: REM export-custom.bat REM export-custom.bat -Cutoff 2026-05-01 -Zip REM export-custom.bat -DryRun > filelist.txt REM export-custom.bat -ShowExcluded REM export-custom.bat -Module eapim-portal,eapim-admin REM --------------------------------------------------------------------------- setlocal REM 한글 경로/출력이 깨지지 않도록 코드페이지를 UTF-8 로 전환 chcp 65001 >nul where powershell >nul 2>nul if errorlevel 1 ( echo [오류] PowerShell 을 찾을 수 없습니다. 1>&2 exit /b 1 ) powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0export-custom.ps1" %* set RC=%ERRORLEVEL% endlocal & exit /b %RC%