cmderdev / cmder

Lovely console emulator package for Windows
https://cmder.app
MIT License
25.86k stars 2.03k forks source link

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

Closed SiaYung closed 5 months ago

SiaYung commented 10 months ago

Question

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

Checklist

chrisant996 commented 10 months ago

Google translator:

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

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

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

SiaYung commented 10 months ago

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

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

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

DRSDavidSoft commented 10 months ago

@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.

DOSforever commented 7 months ago

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

frankpfan commented 7 months ago

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

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