Very odd, but maybe you might know why this is happening.

using the varibles:
$path = 'C:\windows\test'
$file = dir($Path + '\*.doc')

to generate a report with a simple while statment:
while $file <> "" and @error = 0
------> del $file
loop
$file = dir()

now the report works just fine, but the del $file does not, and was wonderring why?
_________________________
www.microcyb.com