Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Folder Path to TerminalNew to Visual Studio Code? Get it now.
Folder Path to Terminal

Folder Path to Terminal

Hephaestus Workers

|
4 installs
| (0) | Free
Paste folder (and file) paths into the integrated terminal via right-click
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Folder Path to Terminal

Paste folder (and file) paths into VS Code's integrated terminal via the Explorer context menu.

Why?

VS Code lets you drag & drop files into the terminal to paste their paths, but folders are not supported due to an internal design limitation (DataTransfers.RESOURCES filters out directories). This extension fills that gap with a simple right-click menu.

Features

  • Right-click a folder in the Explorer → "Paste Path to Terminal"
  • Works for files too (configurable)
  • Automatically quotes paths containing spaces
  • Creates a new terminal if none is active

Settings

Setting Default Description
folderToTerminal.quoteStyle "double" Quote style: "double", "single", or "none"
folderToTerminal.showForFiles true Show the menu item for files as well
folderToTerminal.autoRun false Press Enter automatically after pasting

Usage

  1. Open the Explorer sidebar
  2. Right-click any folder (or file)
  3. Click "Paste Path to Terminal"
  4. The path appears in your active terminal, ready to use

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft