diff --git a/windows/internal/clone.bat b/windows/internal/clone.bat index 3197dde10..9f405b6cd 100755 --- a/windows/internal/clone.bat +++ b/windows/internal/clone.bat @@ -2,7 +2,7 @@ :: The conda and wheels jobs are seperated on Windows, so we don't need to clone again. if exist "%NIGHTLIES_PYTORCH_ROOT%" ( - xcopy /E /Y /Q /H "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ + robocopy "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ /e /np /nfl cd pytorch ) if exist "%NIGHTLIES_PYTORCH_ROOT%" goto submodule