Rexx - dir Command


Advertisements

This command is used to return the entire directory listing.

Syntax

dir

Parameters

None

Return Value

The entire directory listing.

Example

/* Main program */ 
say dir 

An example of the output is shown below.

Output

29/10/2015  08:45    <DIR>          Apps 
11/06/2009  01:42                24 autoexec.bat 
11/06/2009  01:42                10 config.sys 
10/03/2016  09:09    <DIR>          Data 
25/05/2015  00:33    <DIR>          Intel 
14/07/2009  06:37    <DIR>          PerfLogs 
26/06/2016  08:28    <DIR>          Program Files 
26/06/2016  08:25    <DIR>          Temp 
04/05/2016  09:44    <DIR>          Users 
05/07/2016  14:59    <DIR>          Windows 
               3 File(s)             34 bytes 
              11 Dir(s)  34,439,139,328 bytes free 
rexx_brexx.htm
Advertisements