FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit a9b25275 authored by Mr Chris B Mortimer's avatar Mr Chris B Mortimer
Browse files

adding load/unload vars scripts

parent 1239c548
No related branches found
No related tags found
1 merge request!4adding load/unload vars scripts
@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=
)
set WPKG
exit /b
@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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment