i need to get a file name from a directory where there are so many files. The file name i need contains the current date (yyyymmdd) as a part of name from the file.
i tried with the assign task for the directory but i dont know what method to use with for each task to obtain the correct file name.
perhaps i am focusing a wrong way?
you could use a directory.getfiles command to pass the folder contents into a string array. from there on, a basic “for each item” would retrieve the full file path (which can be afterwards checked with a string method)