libreccm-legacy/tools-legacy/tools/bin/ccm-init-profile.cmd

15 lines
284 B
Batchfile
Executable File

@echo off
@if not "%ECHO%"=="" echo %ECHO%
if "%CCM_ZIP_ROOT%" == "" (
set CCM_ZIP_ROOT=C:\ccm
)
for %%v in (%CCM_ZIP_ROOT%\etc\profile.d\*.cmd) do call %%v
REM if called with two arguments, assume that ccm-profile should be called
if not {%2}=={} (
call ccm-profile %1 %2
)