regedit /E C:\ENV\envNT1.reg "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment"
regedit /E C:\ENV\envNT2.reg "HKEY_CURRENT_USER\ENVIRONMENT"
REM also in text form:
SET > D:\ENV\envNT.txt