OK, I downloaded your file and tried it. It works fine, as far as I could see.
I believe this file can be of great help, to automate some programming tasks, and its use is not restricted to batch files alone.
For example, recently, we wanted to change an existing system, in a way that we didn't have to distribute all individual files (forms, reports, etc.), only the executable + data.
The problem was, many files weren't included automatically with BUILD PROJECT. It seems there were lots of indirect references, of the type: do report (variable).
The solution, in this case, is to create a dummy program that includes "do form MyForm" for every form, similar commands for reports, etc., include it temporarily in the project, and build the project. I already did this, but it is here that your utility would have come in handy.
Regards, Hilmar.
>Hi Hilmar
>Check out the file (LFls.PRG) in Downloads
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)