8
votes

In Delphi 2007 how can I copy the newly-built exe into a specific directory using the post-build event?

Any link to a list of build event commands would be much appreciated.

1

1 Answers

12
votes

Use the copy command in your post-build event:

copy "$(OUTPUTPATH)" MyFolder

The $(OUTPUTPATH) expands to the output file's full path.