FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
wpkg-load-vars.cmd 283 B
Newer Older
@echo off
set WPKG_REG=HKLM\Software\WPKG\vars

::WPKG variables defined in the registry as set per group policy.  Allows for per department variables to be defined
for /f "tokens=1,2,3" %%a in ('reg query %WPKG_REG%') do (
    if /i "%%b"=="reg_sz" set %%a=%%c
)

set WPKG

exit /b