From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03020406.xhp | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03020406.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03020406.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03020406.xhp b/helpcontent2/source/text/sbasic/shared/03020406.xhp new file mode 100644 index 000000000..3fb2923e8 --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03020406.xhp @@ -0,0 +1,62 @@ + + + + + + + FileCopy Statement + /text/sbasic/shared/03020406.xhp + + + + + + +
+ + FileCopy statement + + + +FileCopy Statement +Copies a file. +
+ +Syntax: + +FileCopy TextFrom As String, TextTo As String + + +Parameters: + TextFrom: Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in URL notation. + TextTo: Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation. +You can only use the FileCopy statement to copy files that are not opened. + + + + +Example: + +Sub ExampleFileCopy + FileCopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav" +End Sub + + + +
-- cgit v1.2.3