Table 1.5: Obtaining Directory Listings
Expression |
Definition |
DIR |
Lists all files. |
DIR,'*.lab' |
Lists all files with .LAB extension. |
$ DSD |
Lists all files along with creation
date and file size. |
filelist=FINDFILE('file_specification') |
Generates string array
containing list of all files
meeting the file specification. |
LIST=FINDFILE('H.LAB') |
Find all label files for IUE high
dispersion spectral data, and place
them in the string array called LIST. |
SPAWN,'DIR' |
IDL procedure to
execute the VMS directory
command. |
SPAWN,'ls' |
Analogous command to execute ls on
UNIX systems. |