             }
         }
     } else {
-        Run, % DC_Dir . "\doublecmd.exe --no-splash"
+        Run, % DC_Path
         WinWait, % DC
 
         if (!WinActive(DC)) {

    }

    if (InNewTab) {
        Run, "%DC_Dir%\doublecmd.exe" --no-splash -T "%LeftOrRight%" "%Path%"
    } else {
        Run, "%DC_Dir%\doublecmd.exe" --no-splash "%LeftOrRight%" "%Path%"
    }
}

    ClipSaved := ClipboardAll
    Clipboard := ""
    DC_Run("cm_CopyCurrentPathToClip")
    ClipWait, 1

    OldPwd := Clipboard

