# cd - Change Directory Change the current working directory for the agent. ## Description The `cd` command changes the current working directory for the agent. The new directory is automatically tracked and displayed in the Mythic UI context tabs. ## Syntax ``` cd ``` ## Parameters - `path` (required): Directory path to change to. Supports both absolute and relative paths. ## Examples ``` cd C:\Users\Administrator cd .. cd Documents ``` ## Features - The new directory is automatically tracked and displayed in the Mythic UI context tabs - Supports both absolute paths (e.g., `C:\Windows\System32`) and relative paths - The current directory is used by other file system commands when relative paths are provided ## Output ``` Changed directory to: C:\Users\Administrator ``` ## Related [Context Tracking](../../../features.md#context-tracking) --- **Command Category:** File System **Requires Admin:** No