Cannot make sense out a Delphi windows file name
- by Philippe Watel
I am trying to  copy from a file X to this name  
C:\RIP2\France Clidat\Les Plus Belles Oeuvres - France Clidat\(01)3_ Un Sospiro.flac
I have checked that there is no bad characters, If I force directorires it creates
C:\RIP2\France Clidat\Les Plus Belles Oeuvres - France Clidat
but it refuses to write the file and I do not understand why a simple test 
procedure foo(str: string);
var
  f:File;
begin
  Assign(f,str);
  Rewrite(f);
  CloseFile(f);
end;
will crash saying it is not  a valid file name but it is!
If I remove ALL blank spaces it works
I am lost please Help