2019-10-17

Missing a persistent SCITE_USERHOME environment variable ?

This blog post is a work in progress... I haven't yet fully understood what is wrong with my SciTE install. Although the missing SCITE_USERHOME environment variable is a good lead...

Utilities look for an env variable called SCITE_USERHOME and when that is missing will assume a portable installation of SciTE:

REG_SZ

cmd /c "setx SCITE_USERHOME ^"%UserProfile%^" & pause"

REG_EXPAND_SZ

cmd /c "REG ADD HKCU\Environment /v SCITE_USERHOME /t REG_EXPAND_SZ /d ^%UserProfile^% & pause"

Additional information


Missing a persistent environment variable ?


Registry hives and paths

  • User Variables: HKEY_CURRENT_USER\Environment
  • System Variables: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

No comments:

Post a Comment