On Tue, Jun 13, 2006 at 09:57:55AM -0700, Eric Wilhelm wrote: > Eek. They come from the "fix" for spaces in the path :-( Oh dear - is that still an issue? I thought it had been fixed.
I ran into the "spaces-in-path" problem a lot back when I had to use Win32, and I found that the best thing to do was to use the filena~1.ext format for all paths that would be sent anywhere near the shell. This can be obtained by guessing (not as easy as you'd think: you have to handle edge cases like files that begin with a dot), but a better solution, if time permits, is to call `dir /x $filename` to get the 8.3 form, and recurse down directories. I got as far as putting all this into a module, but never uploaded it to CPAN and now I can't find the code :-(. Miles -- Never knock on Death's door. Ring the bell and run! Death hates that. -- Ben Olmstead