cmder icon indicating copy to clipboard operation
cmder copied to clipboard

运行总是提示:“此时不应有 D:\Program。”

Open SiaYung opened this issue 1 year ago • 6 comments

Question

运行总是提示:“此时不应有 D:\Program。” snipaste_20231204_165237

Checklist

  • [X] I have read the documentation and made sure what I'm looking for isn't present, or is unclear.
  • [X] I have searched for similar issues, and either this question wasn't asked before, or I didn't find any that describe my question.

SiaYung avatar Dec 04 '23 08:12 SiaYung

Google translator:

Language Text
Simplified Chinese: 运行总是提示:“此时不应有 D:\Program。”
English: Running always prompts: "There should be no D:Program at this point."

chrisant996 avatar Dec 04 '23 10:12 chrisant996

@SiaYung 您可以在另一个文件夹中重新安装 Cmder 并再次报告吗?

✅ C:\apps\Cmder ❌ D:\Program Files\Cmder

DRSDavidSoft avatar Dec 04 '23 15:12 DRSDavidSoft

@SiaYung 您可以在另一个文件夹中重新安装 Cmder 并再次报告吗?

✅ C:\apps\Cmder ❌ D:\Program Files\Cmder

我的存放目录直接是 D:\cmder

SiaYung avatar Dec 08 '23 13:12 SiaYung

@SiaYung Can you edit the ConEmu task and add the /d flag after the init.bat command to enable debugging? After that, please attach the generated output here.

DRSDavidSoft avatar Dec 08 '23 14:12 DRSDavidSoft

这问题现在解决了吗?你有没有在 cmder 的有关启动 CMD 的任何自启动配置文件中写过自定义的 for 执行语句?

DOSforever avatar Feb 11 '24 19:02 DOSforever

@SiaYung 看起来是因为哪里调用命令行时 D:/Program Files 没有用引号扩起来导致的。

我的 cmder 安装在 D:/Program Files/cmder 下,但没有此问题。大概是你额外的配置导致的问题。

frankpfan avatar Feb 13 '24 00:02 frankpfan