Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每次我用c语言双击执行基于dos的程序时,如何更改命令提示符窗口的标题。我应该使用 Windows API 吗?
尝试SetConsoleTitle。
title允许设置:
title
title Windows Title (quotes unneeded)
你可以做
%comspec% /c 开始 "testtest" %comspec%
在 Windows+R 的应用程序启动器