DOS DELTREE command don't exist in Windows NT
To do the job execute these DOS commands

ECHO Y | DEL /F /S "dir to delete"
RD /S /Q "dir to delete" ; this delete the subdir
RD /S /Q "dir to delete" ; this delete the "root"dir

from a batch file or within a .KIX file use
SHELL 'line to execute'

_________________________
Comments always welcome. French native so I apologize for my (mis)use of English!