Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

ODXSQL

Commands

Syntax

Options

Example

 

EDIT

CREATE DIRECTORY

 

ODXSQL

Special Characters

USE Files

Commands

CREATE FILE

The CREATE FILE command creates an empty file with the specified filename. These files can be edited in any manner appropriate to the operating system.

 

 

Syntax

CREATE FILE filename [WITH options]

CREATE FILE
Required

filename
Required. filename is the name of the file to be created. This filename can be just the name of the file, in which case the file will be created in the current working directory, or it can contain the path (fully qualified or relative) and filename.

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

 

Options

There are currently no options available for the CREATE FILE command.

Support for WITH options was added for future enhancements.

 

Example

Assume the current working directory is c:\omnidex\testapps on a Windows NT machine.
The following creates a new file named newfile.txt in the current working directory, c:\omnidex\testapps.

create file newfile.txt

The next example creates a new file named newfile2.txt in the c:\docs directory.

create file c:\docs\newfile2.txt

This example creates a new file named newfile3.txt in the demo directory, which is a subdirectory of the omnidex directory, at the same level as the testapps directory.

create file ..\demo\newfile2.txt

 

Top