I have a file placed in a location. I am trying to read the name of the latest uploaded file/latest modified file on that location. How can this be done?
I tried using Tbox Start program --> Powershell function. Here buffer contains the location where the file is stored.
Once the location is steered to get the name of the latest file, I am using clipboard to save the name of the file
1. Name of the latest file is not copied. Either it is the random file from the location or none at all (last copied data - pasted on the clip board)
2. What is the correct way to clear the clipboard. I used the function with empty value but doesn't work
Thanks in advance.
[Originally asked and solved on Support Hub]
Best answer by Community AdministratorView original