Where 0x10 is overwrite files, 0x4 is ignore dialog prompt, and 0x14 does both – overwrite and ignore the dialog box. The command works great except it still prompts if I use any of the above examples??? I need to bypass any dialog prompts and just overwrite all files and folders.
by DonJ at 2012-12-20 06:45:54
You're using an external COM object, there, and its behavior is hardcoded internally. It's possible it isn't interpreting your 0x10 properly, or that you've got the wrong value. Unfortunately, I'm not familiar enough with that COM object to tell you which it is, but it isn't a PowerShell issue per se – PowerShell's just passing stuff off to COM, which has to go through .NET interop. There's a lot of layers in which something can get lost.