I have installed Regina on my PC (WIN XP SP2) and I try to send "CD c:\repnew" and next "DIR". I execute this REXX script from c:\repold and I obtain the list of directory repold not repnew.
I am stopped by this problem and I am sure that is possible, but I don't know how to do.
Sorry for my english.
Thanks for your help.
Regina 3.3, W2K
ADDRESS SYSTEM "DIR c:\repnew"
(or use SysFileTree() (frm rexxutil.dll)
See also: DIRECTORY() and CHDIR()
for changing Regina's environment current directory first.
Your "CD" command is not applied to the environment of the separate "DIR" command.
ADDRESS SYSTEM "CD /d c:\repnew & DIR'
is another way.
Thank you HTH, thank you very much. You have solved my problem with the built-in functions and I have learned the "operator" & to chain the command in the same ADDRESS SYSTEM.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.