diff --git a/matlab/parallel/dynareParallelRmDir.m b/matlab/parallel/dynareParallelRmDir.m
index de08a55992da97a16f6a2e9f1c08d503f95e7f67..d441725506bcad0a208b5c0558ca35a358be8352 100644
--- a/matlab/parallel/dynareParallelRmDir.m
+++ b/matlab/parallel/dynareParallelRmDir.m
@@ -68,7 +68,7 @@ for indPC=1:length(Parallel),
                                         % It is necessary because the command rmdir always ask at the user to confirm your decision before
                                         % deleting a directory: this stops the computation! The Octave native function 'confirm_recursive_rmdir'
                                         % disable this mechanism.
-                val = confirm_recursive_rmdir (false);
+                val = confirm_recursive_rmdir (false, 'local');
                 [stat, mess, id] = rmdir(['\\',Parallel(indPC).ComputerName,'\',Parallel(indPC).RemoteDrive,'$\',Parallel(indPC).RemoteDirectory,'\',PRCDir],'s');
                 
             else