I have no problems when I want to create a new folder I'm working with
Directory.CreateDirectory
Now I'm trying to get all image files from my desktop and I want to move all images to that folder which was created with Directory.CreateDirectory
I've testet file.MoveTo from here
FileInfo file = new FileInfo(@"C:\Users\User\Desktop\test.txt");
to here
file.MoveTo(@"C:\Users\User\Desktop\folder\test.txt");
This works perfect. Now I want to do that with all the image files from my dekstop
(Directory.CreateDirectory(@"C:\Users\User\Desktop\Images");)
How could I do that?