If when you try to move, delete, copy, or rename files/folders in Windows 11/10 and you receive the Invalid MS-DOS Function file error message, then this post will ...
Look up the SH* series of function for shell stuff in the Win32 docs - there is a feature here to copy directories. i dont know if you can turn off the UI part of it, but it will copy whole directory ...