diff --git a/core/install/resources/classes/install_switch.php b/core/install/resources/classes/install_switch.php index 14e9dc64b1..6e9155eb96 100644 --- a/core/install/resources/classes/install_switch.php +++ b/core/install/resources/classes/install_switch.php @@ -88,7 +88,7 @@ include "root.php"; elseif(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){ $src = normalize_path_to_os($src); $dst = normalize_path_to_os($dst); - exec("copy /L /Y \"$src\" \"$dst\""); + exec("xcopy /E /Y \"$src\" \"$dst\""); } else { $dir = opendir($src);