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
|