DISC

Contents | What's New | Quick Links

 

ODXSQL Commands

Introduction

Software Installation

Concepts and Design

Designing Applications

Omnidex Environments

SQL Reference

Omnidex API's

Utilities

Interfaces

Performance Guide

Troubleshooting Guide

Appendix

 

 

CD

 

CD [path]

The CD command is used to change the current working directory.

Changing the current working directory applies only to the current OdxSql session. When OdxSql is terminated, the system prompt will return to the same directory that it was in when OdxSql started.

The supported syntax is similar to the operating system's syntax for changing directories.

Syntax

Example

Options

Commands

ODXSQL

SQL Reference

Move to the HOME directory

Enter CD at the OdxSql command prompt to change the current working directory to the user HOME directory. In this case, the HOME environment variable must be set.

cd

Move to a specific directory

Explicitly state which directory to move to.

cd c:\parentdirectory\subdirectory

Move to a directory relative to the current working directory

Move to the parent directory of the current working directory.

cd ..

Move to the parent directory of the parent directory of the current working directory.

cd ../..

Move to another subdirectory of the parent directory.

cd ../anothersubdirectory

See also: PWD (Print Working Directory)

 

Syntax

CD [path]

CD

Required

path

Optional. The path to the system directory to change to. If omitted, it will change to the HOME directory as set by the HOME environment variable.

Top

 

Example

UNIX

[/users/test/ordersdb/]$ odxsql orders.env
>cd idx
/users/test/ordersdb/idx/
>cd
/users/test/
>exit
[/users/test/ordersdb/]$

WINNT

c:\omnidex\demodata> odxsql orders.env
>cd ..
c:\omnidex
>cd demodata
c:\omnidex\demodata
>exit
c:\omnidex\demodata>

 

 

top

Dynamic Information Systems Corporation - Omnidex Version 3.8 Build 6 J15.03-Copyright © 2003

DISC | Documentation Home