See also: flags.
| FOF_MULTIDESTFILES | 0x1 | Indicates that the to member specifies multiple destination files (one for each source file) rather than one directory where all source files are to be deposited. |
| FOF_SILENT | 0x4 | Does not display a progress dialog box. |
| FOF_RENAMEONCOLLISION | 0x8 | Gives the file being operated on a new name (such as "Copy #1 of...") in a move, copy, or rename operation if a file of the target name already exists. |
| FOF_NOCONFIRMATION | 0x10 | Responds with "yes to all" for any dialog box that is displayed. |
| FOF_ALLOWUNDO | 0x40 | Preserves undo information, if possible. With del, uses recycle bin. |
| FOF_FILESONLY | 0x80 | Performs the operation only on files if a wildcard filename (*.*) is specified. |
| FOF_SIMPLEPROGRESS | 0x100 | Displays a progress dialog box, but does not show the filenames. |
| FOF_NOCONFIRMMKDIR | 0x200 | Does not confirm the creation of a new directory if the operation requires one to be created. |
| FOF_NOERRORUI | 0x400 | don't put up error UI |
| FOF_NOCOPYSECURITYATTRIBS | 0x800 | don't copy file security attributes |
| FOF_NORECURSION | 0x1000 | Only operate in the specified directory. Don't operate recursively into subdirectories. |
| FOF_NO_CONNECTED_ELEMENTS | 0x2000 | Do not move connected files as a group (e.g. html file together with images). Only move the specified files. |
| FOF_WANTNUKEWARNING | 0x4000 | Send a warning if a file is being destroyed during a delete operation rather than recycled. This flag partially overrides FOF_NOCONFIRMATION. |
| Commands | default flags |
|---|---|
| cop, ren | FOF_ALLOWUNDO | FOF_FILESONLY | FOF_NOCONFIRMMKDIR. If opt err 1 is set, also adds FOF_NOERRORUI. |
| cop+, ren+ | The same as cop/ren, and adds FOF_NOCONFIRMATION | FOF_RENAMEONCOLLISION |
| cop-, ren- | The same as cop/ren, and adds FOF_NOCONFIRMATION |
| del | FOF_FILESONLY | FOF_NOCONFIRMATION | FOF_SILENT | FOF_NOERRORUI | FOF_ALLOWUNDO |
| del- | The same as del, and removes FOF_ALLOWUNDO |
If you use flags, it replaces default flags, except flags that are added/removed by option - or +.