cd
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(ord): 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
cdto it using autocomplete, they need to use thedircommand with the-refreshparameter to force the session to load the current files and sub-folders in the active directory. Using-refreshmight affect the performance of the session if the current folder has too many files and sub-folders. directoryis 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