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.
RAD Studio 10 Seattle当我在IDE中打开并使用 Delphi 项目文件时。它总是创建 .stat 文件。有没有办法停止创建文件?
RAD Studio 10 Seattle
打开项目的属性,转到构建事件并在构建后事件中输入以下命令:
del /q "$(INPUTDIR)$(INPUTNAME).stat"
或者
if exist "$(INPUTDIR)$(INPUTNAME).stat" del /q "$(INPUTDIR)$(INPUTNAME).stat"