C:\> SET
set TODAY=%DATE:~0,4%-%DATE:~5,2%-%DATE:~8,2% regedit /e "%CD%\user_env_variables[%TODAY%].reg" "HKEY_CURRENT_USER\Environment" regedit /e "%CD%\global_env_variables[%TODAY%].reg" "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
https://qa.1r1g.com/sf/ask/39187151/