$isdir has a bug in it that will have it return true if .'s are on the end of directories.
Example.
//say $isdir(c:\windows..)
yet again
so I did this
$isfile($+($mp3dir,Game\Final Fantasy\FFX-2\Disk 2\24 - Shitou.mp3..))
and it also returns true.
Have you tried putting one or more dots after a filename or directory? You can't.
If no characters follow these fullstops, it is presumed the file has no extension and the periods are removed/ignored.
Try this experiment:
/run c:\windows..\notepad.exe...
$isfile $isdir are handling this appropriately and should not be changed.
- Raccoon