8

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.

SteB
  • 1,999
  • 4
  • 32
  • 57

1 Answers1

12

Use the copy command in your post-build event:

copy "$(OUTPUTPATH)" MyFolder

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

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490