to delete a file or files, use the syntax:
"wtscript.exe d? <filespec>",
where <filespec> is the name of the file or wildcard specification of a set of files that you wish to remove. You can specify a folder to be removed, including all its sub-folders.
This command does not prompt for confirmation. If such a prompt is required, it must be programmed into the script or program calling "wtscript".
Specify the path to the files(s) or folder to be deleted.
Page url: http://wtcmanual.wintextware.com/index.html?lps_deletingfiles.htm