You're exactly right, and I now remember being baffled by the fact that 'pwd' and 'cd' didn't behave as expected, long ago. Until I figured out that even though they merely change the PWD and OLDPWD environment variables, it's the ones in a child process, not the one in the Rexx program environment.
-Chip- On 2/5/2016 11:56 AM, CVBruce wrote: > Well except Address UNIX 'cd newdir' doesn't change the directory. Of the > five items you mention ,numbers 2 through 5 make changes to the file system. > Change directory only changes the current environment, which is destroyed > when the Address command returns. So without some sort of BIF there is no > way to change directories. > > Sent by Magic! > >> On Feb 5, 2016, at 8:18 AM, Chip Davis <c...@aviatrexx.com> wrote: >> >> Address UNIX >> 'cd newdir'. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users