<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body smarttemplateinserted="true">
    <div id="smartTemplate4-template"><br>
      Hi James,<br>
      <br>
      <p>I have just copied the function from Lazarus to my project. <br>
      </p>
      Two days ago I even copied it in a new file:
<a class="moz-txt-link-freetext" href="http://hg.benibela.de/internettools/file/f379759c52b9/data/xquery.internals.lclexcerpt.pas">http://hg.benibela.de/internettools/file/f379759c52b9/data/xquery.internals.lclexcerpt.pas</a><br>
      <br>
      <br>
      <br>
      <br>
      Best,<br>
      Benito </div>
    <br>
    <div class="moz-cite-prefix">On 18.04.2019 03:06, James Richters
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:291f01d4f582$f729c390$e57d4ab0$@productionautomation.net">
      <pre wrap="">Is there a copyfile for Freepascal I can use without installing Lazarus?

I found:
<a class="moz-txt-link-freetext" href="http://wiki.freepascal.org/CopyFile">http://wiki.freepascal.org/CopyFile</a> 

but that seems to only work with Lazarus.

I just want to make a copy of a file into a different directory and maintain it's timestamps etc

Any suggestions?

James
_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
    </blockquote>
    <br>
  </body>
</html>