Table of Contents

cd

FreeSince 2.0.0

Description

Changes the current PDM directory.

Syntax

cd [-directory|-id]

Parameters

Parameter Alias Required Description
-directory (default) -d No Navigates to this directory. Path can be absolute or relative to the current directory. Use cd.. to navigate to the parent directory or cd\ to navigate back to the root vault. Right side of the command box indicates your current directory. ~ indicates you're at the root of the vault.
-id No ID of the folder to navigate to.

More about parameters

  • directory (or d): The directory to switch to. The directory parameter can be a relative or absolute path in PDM.

Examples

cd -directory 'C:\Vault\NewFolder' # Navigates its newFolder

Remarks

  • Please be aware of the following special ways to change directory:
cd.. # Navigates to the parent folder
cd\  # Navigates to the root of the vault
  • If the user just created a new folder and wants to cd to it using autocomplete, they need to use the dir command with the -refresh parameter to force the session to load the current files and sub-folders in the active directory. Using -refresh might affect the performance of the session if the current folder has too many files and sub-folders.
  • directory is the default parameter. You do not need to specify it if it is the only parameter in your command. Example:
cd api #navigates to the api folder
cd -id 755 #navigates to the folder with id 755

Tutorial