Hi experts, I have to select a file from a folder to open it and do some operations on it. I need to do two things; 1. I wanted to fetch always the "latest added file" from the folder. 2. I also ...
Thanks for your reply. Yes, I am using the same aqFileSystem related functions to handle the files. Now, is there any particular function to sort and acess a particular file of my choice?
With the above code I have written, I am able to sort the installer file names based on version and get the latest one(below logs)
Now I wanted to collect this sorted file path in array and operate with it? Like from array of paths I need to fetch lastest and second latest version and further work with it. How to push these sorted file paths into a array and again select a particular one path from it?
when you are looping through the DTM files you can add each data to a JSON object or Array Object or dictionary object and once fetching the complete info you can do your required operation.