I need to verify, via a script, the existence of a file in an installer folder. The name of the installer folder changes daily. It is deleted each night before the build and a new folder is created with the new installer name on it. So the name of the file I need to access is always the same, but the folder the file resides in will be different each time the script is run. Anyone have any idea how I can access that file in the folder with the ever-changing name?
Thank you for the answers. This is my first time doing this and I think I should have given a few more details.
I was attempting to access that file to verify that it was less than 6 hours old, which would mean the process that is designed to write it there had completed successfully. (This script audits an automated build.) I realized that I could just verify the modify time on the folder that holds the installer folder with the name that changes every night. That I can do (thanks to other posts here and on other sites).
Anyway, since I found another way to accomplish my goal, so I guess we're done! Thank you again for the answers. It's always cool to see a problem through new eyes.