Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

ODXSQL

Commands

Syntax

Options

Example

 

CD

CREATE DIRECTORY

PWD

 

ODXSQL

Special Characters

USE Files

Commands

DIR

The DIR command displays the contents of the directory.

 

 

Syntax

DIR [fileset] [WITH options]

DIR
Required.

fileset
Optional. The fileset parameter can contain the fully qualified directory to be displayed, a reference to a directory relative to the current working directory, or nothing. If omitted, the contents current working directory will be displayed.

WITH options
Optional. A comma separated list of options to apply to this command.

 

Options

There are no options available for use with the DIR command. Support was added for future releases.

 

Example

No fileset specified

c:\omnidex\demodata> odxsql orders.env
>dir
.odxsql_history
activity.flat
...
12 files in 1 directory 19,576 bytes

Fully qualified fileset specified

>dir c:\logs
c:\logs\HW1.txt
c:\logs\trace.log

2 files in 1 directory 4,439 bytes

Fileset relative to current working directory (c:\omnidex\demodata).

>dir ..\..\logs
..\..\logs\HW1.txt
..\..\logs\trace.log

2 files in 1 directory 4,439 bytes

 

Top