Unreal Engine Cmd console variable.
SetGlobalShaderCacheOverrideDirectory
Execute via the console (~). This is a command, not a variable.