redirect the temp output path to \result\