claude-code - 💡(How to fix) Fix [FEATURE] File drag-and-drop in CLI (Windows Terminal)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Priority

Medium — workaround exists (@ autocomplete) but drag-drop is significantly faster for nested paths.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested for this specific platform/scenario

Problem Statement

Dragging a file from Windows Explorer into the Claude Code CLI prompt in Windows Terminal does nothing. No path inserted, no attachment, no feedback.

This used to work in older Claude Code versions (path was inserted on drop). It no longer works as of at least v2.1.x.

Environment

  • OS: Windows 11 Pro 26H2
  • Terminal: Windows Terminal (latest)
  • Claude Code: 2.1.143
  • Shell: PowerShell 7.6

Proposed Solution

On file drop into the CLI prompt, insert @path/to/file into the input (same as typing @ + filename). This is the minimum viable behavior.

Ideal behavior: binary/image files attach as [Pasted File] the same way clipboard images attach via Alt+V.

Related Issues

  • #51027 (drag-drop feature request, marked stale/duplicate)
  • #41338 (VS Code drag-drop, stale)
  • #25128 (VS Code drag-drop bug)

Priority

Medium — workaround exists (@ autocomplete) but drag-drop is significantly faster for nested paths.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] File drag-and-drop in CLI (Windows Terminal)