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 ...
With Windows 11’s KB5037853 update, Microsoft added a function to Explorer that allows you to copy and move files within a folder path by simply dragging and dropping. Sounds easy, right? Well, it is!
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 ...