In our previous episode, Sandro Cumerlato said:
> ' delimiters are mandatory within this example because we are writing paths
> as string parameters directly into the source code.
>
> I believe that I should use both ' and " in case of spaces within paths:
>
> CopyFile('"c:\my silly path\autoexec.bat"','"c:\windows\temp\my silly
> path\autoexec.bat.backup"');
No. The "" is a shell/cmdline convention, and API calls are generally not
shell.
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal