home *** CD-ROM | disk | FTP | other *** search
- /*
- ** INSTALL.CMD
- **
- ** REXX installation program. The default subdirectory to install into is
- ** c:\calc
- **
- ** If that's not suitable change all occurrances of c:\calc to what you
- ** would like it to be.
- */
- OS2:
- address CMD "MD c:\calc"
- address CMD "XCOPY *.* c:\calc"
- address CMD "c:"
- address CMD "cd calc"
- address CMD "FOR %%n IN (k*.pgm) DO echo %%n >> kfiles.lst"
-
- Begin:
- filename = "kfiles.lst"
- do until lines( filename) = 0
- name = linein( filename)
- fn = substr( name, 1, 8)
- ea = fn
- cmdstr = "EAUTIL "fn".PGM "ea".EA /J"
- address CMD cmdstr
- end
- address CMD "del *.ea"
- address CMD "del kfiles.lst"
- exit
-