Try adding quotes around the directory.
jvenema
2009-04-20 13:36:25
Try
cd $(TargetDir)
del *.tif
As jvenema pointed out, your $(TargetDir) is expanding into a path containing spaces in the folder names which is breaking the delete command.