I found a solution to this but it required effort at the shell level in the actions block&nbsp; using sed to translate $(&gt;) to the desired filename.&nbsp; Is there any other way?<br><br>Maybe it's not such a dumb question after all.<br><br><b><i>Mark Evans &lt;evans_mark@yahoo.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> This is a dumb question:<br><br>From an action rule, I need to get the pathname(s) of source file(s) that are in a dependent project outside of the current project.&nbsp; I need to generate command to remove an unwanted listing file this particular compiler produces in the same directory as the source file.<br><br>The command sequence would be something like:<br><br>ptal &nbsp; ../../foo/bar.tal<br>rm -f&nbsp; ../../foo/bar.L<br><br>How do I get "../../foo/bar.tal" in the compile rule for .tal files?&nbsp; I.e., <br><br>rule compile.ptal ( targets * : sources * : properties
 * )<br>{<br>&nbsp;&nbsp; # How to get actual path of $(sources) ????<br>}<br></blockquote><br>