I would like to list the files inside a PL file from 4GL code, unfortunatly OS-DIR() won't do much good for me here.
What I have inside my PL:
These are programs to be automatically run when a new version of the software is installed, I don't want to hardcode the names or the versions, so I'd like to be able to list the 43000 and 43010 directories, the files within I can find using search.
Currently, incrementing the version by 1 and searching for the first file in the version directory takes just about forever, so I'd like a faster way of doing the same.
What I have inside my PL:
Code:
update/
43000/
001.p
002.p
43010/
001.p
002.p
These are programs to be automatically run when a new version of the software is installed, I don't want to hardcode the names or the versions, so I'd like to be able to list the 43000 and 43010 directories, the files within I can find using search.
Currently, incrementing the version by 1 and searching for the first file in the version directory takes just about forever, so I'd like a faster way of doing the same.