cd Command

Purpose:

Changes the directory in console or terminal mode

Syntax:

cd test  // change to subdirectory test

cd .. // move up one directory level

cd ~ // change directory to getFilesDir

cd    // change directory to Enviroment.DIRECTORY_DCIM

 

Comments:

Based on Linux cd command.  Command is only useful in terminal mode.  Supplying quotes around directory name is not necessary unless name contains spaces.

Example:

cd ..

use pwd to see current directory