Running REXX Scripts on Windows NT (96326)



The information in this article applies to:

  • Microsoft Windows NT Server 3.1
  • Microsoft Windows NT Workstation 3.1

This article was previously published under Q96326

SUMMARY

REXX (REstructured eXtended eXecutor) scripts can run with Windows NT without modification. However, you must make some changes to your Windows NT system and have OS/2 version 1.3 files available to run these scripts.

The following procedure enables Windows NT to support REXX scripts:

  1. From OS/2 version 1.3, copy CMD.EXE to a hard disk drive on your Windows NT machine.
  2. Also from OS/2 version 1.3, copy the REXX dynamic-link library (DLL) files to your Windows NT machine. Make sure these files reside in a directory in your OS/2 library path.

    Note: REXX DLL files should have the form "REXX*.DLL" and be located in the \OS2\DLL subdirectory of your OS/2 installation.
  3. Execute CMD.EXE from Windows NT.
You should be able to run REXX scripts now. Note the following:

  • REXX scripts should have two-letter prefixes of "/*" and three-letter extensions of "CMD."
  • The first REXX script you run may not work. After you run it again, all subsequent REXX scripts should run properly, including the first script you ran.
  • Make sure all the OS/2 files you copied are version 1.3.

Modification Type:MajorLast Reviewed:10/30/2003
Keywords:kbother KB96326