     }
     else
     {
-        IniRead, f, %ConfigPath%, redirect, RightHistory
+        f := ini.redirect.RightHistory
+
         if FileExist(f)
             IniRead, history, %f%, RightHistory
         else

    global TCMarkINI
    global ini

    IniRead, TCPath, %ConfigPath%, TotalCommander_Config, TCPath
    IniRead, TCINI, %ConfigPath%, TotalCommander_Config, TCINI

    if !FileExist(TCPath)
    {

    }

    Global Mark := []
    Global SaveMark := ini.TotalCommander_Config.SaveMark

    if (SaveMark <> 0)
    {
        IniRead, all_marks, %TCMarkINI%, mark, ms
