Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>dir</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DIR


Syntax:     DIR [<drive>:] [<path>\] [<skeleton>]/(<expC>)

Purpose:    To display a listing of files from the specified path.

Option:     Skeleton: The <skeleton> is a standard wildcard (* and
            ?) notation for files.  If specified, DIR displays all
            matching files.  If not specified, DIR displays a list of
            database files.

Usage:      DIR displays two formats of listing depending on whether you
            specify a <skeleton>.  Not specifying a skeleton displays a
            standard listing of database files from the current
            directory and includes the database filename, date of last
            update, and number of records.  Specifying a skeleton
            displays a list of files including filename, extension,
            number of bytes, and date of last update.

            If no path is specified, DIR displays files from the current
            DOS drive and directory unless SET DEFAULT has been used to
            specify a different default directory.

            To create applications where you present directory
            information to the user, use ADIR() instead of DIR.  ADIR()
            allows you to fill a number of arrays with the attributes of
            files.  Then with these arrays you can create any kind of
            file selection or display menu.

Library:    CLIPPER.LIB

See Also: SET DEFAULT ADIR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson