Delphi 2007 post-build event, copy exe into specific directory?

delphi, post-build-event

Solution

Use the `copy` command in your post-build event:

copy "$(OUTPUTPATH)" MyFolder

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

Problem

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.

Original source