Latest Downloaded file move specific folder

Hello,

Can you say which type move lastest downloaded 2 or more pdf in other folder.
like without get pdf names

Try this example:

NewestFileIinDirectoryAnyDay.xaml (6.4 KB)

last_mode_files = String.Join("", Directory.GetFiles(FolderPath,"*.pdf",SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1) )

Another example

Thank You Very much

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.