I try to copy multiple files in c# from Folder A to Folder B. I filter the files I want to copy in my Code - after that for example the files 1 , 2 and 5 from Folder A should copy to Folder B. Therefor I want to use the Windows Copy Gui - because I want to see the the copy Progress bar and the Options if any file with the same already name exist.
I´ve found "How to bring up the built-in File Copy dialog?" this article. And I´ve tried to work with the following Options:
Filesystem.CopyFile Filesystem.CopyDirectory
But my Problem is: If I use CopyFile I only can copy ONE File... If I start the CopyFile Statement in loop the Windows Copy GUI will open and close for every file so I cant use the progressbar.
If I use CopyDirectory I only can Copy all files from Folder A to Folder B.
So how can I copy multiple files from Folder A to Folder B with using the WINDOWS COPY GUI ???
Thank you.