mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-11 11:55:03 -05:00
* suppress annoying Windows Move/Copy Dialog UIs
This commit is contained in:
parent
968d3f32da
commit
c181414053
@ -52,7 +52,7 @@ public enum NativeRenameAction implements RenameAction {
|
|||||||
// configure parameter structure
|
// configure parameter structure
|
||||||
SHFILEOPSTRUCT op = new SHFILEOPSTRUCT();
|
SHFILEOPSTRUCT op = new SHFILEOPSTRUCT();
|
||||||
op.wFunc = (action == MOVE) ? ShellAPI.FO_MOVE : ShellAPI.FO_COPY;
|
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.pFrom = new WString(op.encodePaths(src));
|
||||||
op.pTo = new WString(op.encodePaths(dst));
|
op.pTo = new WString(op.encodePaths(dst));
|
||||||
|
Loading…
Reference in New Issue
Block a user