Mike Miller wrote:
> You have to remember that filenames or directory names can contain spaces. 
> This is a really important little "gottcha" because you can do a whole lot 
> of testing and think everything is fine because you never use spaces in 
> filenames.  Some people like spaces (are they crazy? ;-), and your program 
> will not seem so great to them!
>
>   
Don't put spaces in filenames in the first place...

Also are you handling backslashes in filenames and control characters?

-- 
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature.
See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels 
nor demons, neither the present nor the future, nor any 
powers, neither height nor depth, nor anything else in all 
creation, will be able to separate us from the love of God that 
is in Christ Jesus our Lord. - Romans 8:38-39