Skip to content

Bug: Open in terminal shortcut doesn't work with paths that have spaces #11555

Closed
@AlexNakamuraDF

Description

@AlexNakamuraDF

Description

It's not possible to open folders with spaces in their path using the open terminal shortcut Ctrl+`
Windows Terminal shows error 2147942402

image

Steps To Reproduce

  1. Create a directory named "Test folder with spaces"
  2. Open the previous directory
  3. Press Ctrl+`
    image

Steps to fix

Stop Windows Terminal from throwing error 2147942402 when trying to open a folder that has spaces in its path and actually open said folder in Windows terminal when pressing Ctrl+`

I haven't looked at the code yet, but I guess there are some quotation marks missing in the command that adds this functionality.

Files Version

Version: 2.4.40.0 OS Version: 10.0.22621.1265

Windows Version

Windows 11 22H2 22621.1265

Log file

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions