From 1ab62bef1825694429623b9e7b783c39306e7be5 Mon Sep 17 00:00:00 2001 From: Paul Harris Date: Mon, 11 Mar 2024 18:47:42 +0800 Subject: [PATCH] Add notes on system-wide environment variables --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index fde61be1..4ed10243 100644 --- a/readme.md +++ b/readme.md @@ -186,3 +186,7 @@ Documentation of most environment variables used by Mesa is available [here](htt Complete examples are available [here](https://github.com/pal1000/mesa-dist-win/tree/master/examples). You can set multiple environment variables on same batch script to mix the functionality provided by Mesa3D. + +If you want to avoid BAT files and set the variables system-wide, you can add STRING entries into the registry: +- For all users, in: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment` +- For just the current user, in: `HKEY_CURRENT_USER\Environment`