Skip to content

Not support path with space #20107

@yishenmao

Description

@yishenmao

Windows Terminal version

1.25.260303002-preview

Windows build number

No response

Other Software

No response

Steps to reproduce

start power shell;
taping "cd C:\Program Files"

Expected Behavior

No response

Actual Behavior

Power Shell:
cd C:\Program Files
Set-Location : A positional parameter cannot be found that accepts argument 'Files'.
At line:1 char:1

  • cd C:\Program Files
  •   + CategoryInfo          : InvalidArgument: (:) [Set-Location], ParameterBindingException
      + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Issue-QuestionFor questions or discussionNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingResolution-AnsweredRelated to questions that have been answered

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions