连接 Windows 远端书签时配置的 开始目录:远程 无法正确跳转

Open Beginner friendly
#4,535 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, javascript
Domain
tooling

Research direction

Reproduce the issue in Electerm 5.5.6 on Windows 11 using a Windows remote bookmark whose start directory is C:/. Trace the code that generates the initial directory command for remote bookmarks and compare Windows behavior with Linux. Done means the Windows connection uses the expected command for C:/ and Linux start-directory behavior remains unchanged.

Written by the indexing model from the issue text.

Description

bug
Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-5.5.6-win-x64-installer.exe

Platform detail (平台详情)

Windows 11 x64

What steps will reproduce the bug?(重现问题的详细步骤)

设置 Windows 远端书签的开始目录:远程为C:/,进入后会提示:

C:\Users\Administrator>cd -- 'C:/'
文件名、目录名或卷标语法不正确。
What should have happened?(期望的结果)

应在连接远端 Windows 时自动输入 cd /d "C:/" 而非与 Linux 使用同一指令。

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Dominant language
JavaScript
Stars
15.2k
Forks
1.2k
Avg merge
23h 5m
Merged PRs (30d)
12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electerm/electerm

All issues in electerm/electerm

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.