WSL_DISTRIBUTION_FLAGS

typedef enum _WSL_DISTRIBUTION_FLAGS { 
  WSL_DISTRIBUTION_FLAGS_NONE                   = 0,
  WSL_DISTRIBUTION_FLAGS_ENABLE_INTEROP         = 1,
  WSL_DISTRIBUTION_FLAGS_APPEND_NT_PATH         = 2,
  WSL_DISTRIBUTION_FLAGS_ENABLE_DRIVE_MOUNTING  = 4
} WSL_DISTRIBUTION_FLAGS;
This flag is stored in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{GUID}\Flags. It's default value is 7.

标签: WSL, PATH, AppendNtPath, 环境变量

添加新评论