Unit 'msefileutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

trycopyfile

Like copyfile, but returns False instead of raising an exception on error (or if newfile already exists and canoverwrite is False)

Declaration

Source position: msefileutils.pas line 321

function trycopyfile(

  const oldfile: filenamety;

  const newfile: filenamety;

  const canoverwrite: Boolean = True

):Boolean;

Description

Like copyfile, but returns False instead of raising an exception on error (or if newfile already exists and canoverwrite is False).


Documentation generated on: 2026-10-03