* suppress annoying Windows Move/Copy Dialog UIs

This commit is contained in:
Reinhard Pointner 2012-11-03 10:18:38 +00:00
parent 968d3f32da
commit c181414053
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public enum NativeRenameAction implements RenameAction {
// configure parameter structure
SHFILEOPSTRUCT op = new SHFILEOPSTRUCT();
op.wFunc = (action == MOVE) ? ShellAPI.FO_MOVE : ShellAPI.FO_COPY;
op.fFlags = Shell32.FOF_MULTIDESTFILES | Shell32.FOF_NOCONFIRMMKDIR;
op.fFlags = Shell32.FOF_MULTIDESTFILES | Shell32.FOF_NOCONFIRMATION | Shell32.FOF_NOCONFIRMMKDIR;
op.pFrom = new WString(op.encodePaths(src));
op.pTo = new WString(op.encodePaths(dst));