I am attempting to write a log analysis program in Perl for a Windows app. I normally use Linux/Unix so Bill'sMoneyMachine can frustrate me. Log files are generated when 1) the program restarts, or 2) the file size exceeds 10MB. So I need to pass to the program a file spec to catch 1 days logs. I tried while (defined glob($currentfilespec). The program did not complain but nothing worked. I think the problem is in the fact that the log filenames are generated ast mail_Thu Aug 02 12_30_25 2001.log The spaces appear to be messing up the glob function and I don't get anything back. I have tried 2 command lines maillogscan.pl "mail*Aug 02*" and maillogscan.pl "mail_Thu Aug 02*" The first never did anything, the 2nd returned mail_Thu and Aug as the 2 results of the glob. The perl system is the latest download (2 days ago) from ActiveState. What do I need to do to handle spaces in filenames? Chris D. Garringer LAN/WAN Manager Master Certified Netware Engineer Microsoft Certified Systems Engineer Certified Solaris Administrator Red Hat Certified Engineer [EMAIL PROTECTED] fax 713-896-5266