Last Updated: Dec 3, 2020
Use this function to copy the source file to the given destination path. If the source file does not exist, an error is raised alerting that the source file does not exist.
Copy File (source_file, destination)
Input Parameter Name | Description |
---|---|
source_file | Path of the file to be copied |
destination | Path where the file should be copied to |
Return value | Description |
---|---|
Destination Path | Returns the path of the copied file |
Copy File (C:\Invoice.pdf, E:\Invoices)
To view all the File functions, click here.