I think I read a post where a user was trying to get a list of files in a Windows directory. I haven’t been able to locate it since. I apologize if this is a duplicate post…
I am scripting an application in Windows. I would like to be able to get a list of the files automatically and have the script process them. I am not interested in the order. The files in the folder will change from time to time and I don’t want to edit the script each time this happens. Basically I want:
- List of files in the directory
- Names for later output in a result file with my formatting
Having the name of each file is important, which is why I can’t do this by image. I have considered:
- Connect to the network volume where the files reside from the Macintosh
- Get a list of the files
- Use type to enter the names into the appropriate field in the application on the Windows SUT.
I haven’t tried this yet since I am hoping there is an elegant way to do it.
I would love to hear any suggestions.
Thanks in advance