change your loop:
Code:

For Each $File In ReadFile('\\Server\Share\delete_these_files.txt')
If Exist('C:\Program Files\'+$File)
? 'C:\Program Files\'+$File
del "C:\Program Files\"+$File+"\*.*" /s /c
? @serror
rd "C:\Program Files\"+$File /q
? @serror
endif
next



to:
Code:

For Each $File In ReadFile('\\Server\Share\delete_these_files.txt')
If Exist('C:\Program Files\'+$File) and len(join(split($File),""))
? 'C:\Program Files\'+$File
rd "C:\Program Files\"+$File /s
? @serror
endif
next



note, this rd /S need the new beta.
_________________________
!

download KiXnet