Hi, Irstndm. I have a script which performs system maintenance, including deleting C:Temp of all files and folders. Below is a snippet from that script; it should work for what you're trying to do.
$_dir1 = _FileListToArray(@TempDir, "*", 2)
$_dir2 = _FileListToArray(@TempDir, "*", 1)
If IsArray($_dir1) Then
For $n = 1 To $_dir1[0]
$sPath = @TempDir & "" & $_dir1[$n]
If FileExists($sPath & "") Then
DirRemove($sPath, 1)
EndIf
Next
EndIf
If IsArray($_dir2) Then
For $n = 1 To $_dir2[0]
$sPath = "C:Temp" & $_dir2[$n]
If FileExists($sPath) Then
FileDelete($sPath)
EndIf
Next
EndIf