Hi. In your script add: set -x for debugging, and eventually set -v for verbose, then try to run the script. You will see the answer. The problem is the pipe used before xargs.
Try something like that:
FIND_EXEC="find /cygdrive/d/tmp -maxdepth ${MAXDEPTH} -mindepth 1 -name ${PATTERN} -type ${FILETYPE} -mmin +${FILE_AGE} -print0"
PIPE="xargs -0"
$FIND_EXEC | $PIPE
OR
Replace the double quotes by single quotes and then do echo $FIND_EXEC instead of $FIND_EXEC
FIND_EXEC=`find /cygdrive/d/tmp -maxdepth ${MAXDEPTH} -mindepth 1 -name ${PATTERN} -type ${FILETYPE} -mmin +${FILE_AGE} -print0 | xargs -0 `
echo $FIND_EXEC
Good luck!