Skip to content

Path error when using edit with ~ in Windows PowerShell (Error 0x80070003) #672

@Diluka

Description

@Diluka

Describe the bug
When trying to execute:

PS C:\Users\Diluka> edit ~/.claude/settings.json
Error 0x80070003: 绯荤粺鎵句笉鍒版寚瀹氱殑璺緞銆?

The command fails with error code 0x80070003, and the error message is garbled.

Expected behavior

  • The path ~ should be correctly resolved to the user's home directory.
  • Error messages should be readable in English or Chinese, not garbled.

To Reproduce

  1. Open Windows PowerShell.
  2. Run the command above.
  3. Observe the error output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions