7

When I open and use Delphi project files in RAD Studio 10 Seattle IDE. It always create .stat files. Is there a way to stop creating the files?

Danilo Casa
  • 506
  • 1
  • 9
  • 18
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132

1 Answers1

4

Open project's properties, go to Build Events and in the Post-build events enter the following command:

del /q "$(INPUTDIR)$(INPUTNAME).stat"

or

if exist "$(INPUTDIR)$(INPUTNAME).stat" del /q "$(INPUTDIR)$(INPUTNAME).stat"