This issue has been added to tracker.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
... Actual file name is "foo.txt" (without space).
C:\Temp>copy con "\\?\C:\temp\foo.txt "
blah blah
^Z
1 file(s) copied.
C:\Temp>dir foo.txt
Volume in drive C has no label.
Volume Serial Number is 28BC-75F3
Directory of C:\Temp
File Not Found
C:\Temp>dir f*
Volume in drive C has no label.
Volume Serial Number is BARF-FARB
Directory of C:\Temp
05/02/2007 11:49 PM 11 foo.txt
1 File(s) 11 bytes
0 Dir(s),555,555,555,555 bytes free
C:\Temp>type "\\?\C:\temp\foo.txt "
blah blah
C:\Temp>
Windows does actually allow spaces at the end of file names. The limitation, as with so many other things, is that the file-ending-in-space has to be created/manipulated through the command prompt, as explorer automatically trims spaces.
C:\temp>copy con "foo.txt "
Hello there
^Z
1 file(s) copied.
C:\temp>type "foo.txt "
Hello there
- replace spaces in dirname by something else,