[fpc-pascal] Windows backslash
nc-gaertnma at netcologne.de
Mon Apr 22 09:42:59 CEST 2013
On Mon, 22 Apr 2013 09:35:19 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:
> In our previous episode, Mattias Gaertner said:
> > It seems fpc converts under Windows \^ to ^.
> > See here:
> > http://bugs.freepascal.org/view.php?id=23294
> > Is this a feature or a bug?
> No idea, but IIRC ^ is the escape char on Windows NT cmdline shell (like \ in C).
> So ^\ would be a non-path "\" ?!?
> I don't know how deep it goes and if it is cmd.exe only.
C:\Users\^-^\AppData is converted to C:\Users^-^\AppData.
If ^ is the escape character then it is strange that ^\ is kept and the
\^ is not.
More information about the fpc-pascal