home *** CD-ROM | disk | FTP | other *** search
- /* This ReXX-Programm will delete your temporary */
- /* turns to enter your new register-code before */
- /* unpacking the result-file. */
- /* Not necessary if you have a new result-file */
- /* (not unpacked) in your player-directory */
-
-
- Call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
- Call SysLoadFuncs
-
- Parse Arg dir
-
- if dir = "" then signal NODIR
-
- Call SysFileTree dir, FileStem, 'D'
- if FileStem.0 = '0' then signal DIRNOTFOUND
-
- say 'Upgrading will delete you temporary turns. Continue (Y/N) ?'
- Key = SysGetKey( 'NOECHO' )
- Key = translate(Key)
- If Key = 'N' Then signal QUIT
-
- '@cd ' dir
-
- Call SysFileTree 'temp', FileStem, 'F'
- if FileStem.0 = '0' then signal NODELETE
-
- '@attrib ' 'temp ' '-H'
- '@del ' 'temp'
-
- NODELETE:
- '@cd.. '
- say ''
- say 'Done.'
- say ''
- say 'Please copy OS2PL.EXE to your specific directory and start it'
- say '(do not specify option /u !).'
- say 'The first thing you should do is entering your register-code.'
- say 'After that you are ready to unpack the result-file.'
- signal QUIT
-
- DIRNOTFOUND:
- say 'Directory Not Found'
- signal QUIT
-
-
- NODIR:
- say 'No Directory Given'
- say 'Syntax: UPGRADE <player-directory>'
-
- QUIT: