Okay, please run this code and post back exactly what it returns.

Break On
If @KiX
'KiXtart ver: ' + @KiX ?
Else
'woah we have a problem' ?
EndIf
If Len('%temp%\')>5
'Temp is longer than 5 characters' ?
'Temp folder is: ' + '%TEMP%\' ?
DEL '%TEMP%\*.*' /c /f /h /s
'Removing files gave error: ' + @ERROR + ' ' + @SERROR ??
'Note that if there are no more files in MAIN TEMP directory ' ?
'then you will get an ERROR 2 which is normal' ?
'Using the /s switch will return an ERROR 2 if there are no more files as well' ?
'in the sub-directories of the TEMP folder'?
Else
'Odd for some reason TEMP path is too short' ?
EndIf