FILECOPY(source, destination)

Copies a file from one directory to another.

sourceThe full pathname of the file you want to copy (String).
destinationThe full pathname of the new file you want created (String).

* A run-time error will occur if you try to copy a file that is currently open.
* You can use the DIR function to check if a file or directory exists.
* The equivalent .NET statement is Microsoft.VisualBasic.FileSystem.FileCopy
* For the Microsoft documentation refer to

FileCopy("C:\text.txt", "C:\text2.txt") 

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top