Saving multiples files to a directory in a way that names them differently

@drewyorker
Have a look here

Another technique is to retrieve the files with Directory.GetrFiles(“C:\FolderPath\ABC*.ext”)
and counting the results for using it in the new filename

and more direct with Directory.GetrFiles(“C:\FolderPath\ABC*.ext”).Length

Therefore the methods below are helping much:

1 Like