I am making a console application where I drop files onto the .exe from Explorer and it will move them to the appropriate folder based on rules I have set in the logic of the program.
The program works great, but when I select more than 25 files and drop them on my .exe I get an error:
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
If I only drop 24 files from the same set it works fine.
What am I doing wrong?