# NetRexx Example Configuring a Rexx Instance and then Running a Rexx Program

Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can use the free and open-source editor `"[g]vim"`, which is available for practically all platforms and can be downloaded from its homepage at http://www.vim.org/.

. <directory> (List of this directory)
  Display all of this directory's files and directories.
.. <directory> (List of parent directory)
  Display all of the parent directory's files and directories.
anotherpath <directory>
  Display all files that may be called by the Rexx program.
NetRexxRunRexxWithCommandHandler.nrx
  A NetRexx demonstration program to show, how easy it is to invoke a Rexx program for which a Rexx command handler got implemented in NetRexx (Java).

  The companion Rexx program is: testRexxWithCommandHandler.rxj.

  To compile the NetRexx program enter the following command on the command line:

          nrc -compile NetRexxRunRexxWithCommandHandler.nrx

  To run enter the following command on the command line:

          java NetRexxRunRexxWithCommandHandler

Rony G. Flatscher, 2012-02-28, Wien/Vienna, Austria, Europe