Last Updated: May 27, 2021
Use this function to copy the source folder to the given destination path. If the source folder does not exist, an error is raised alerting “The source folder does not exist”.
Copy folder (source_folder, destination_folder)
Input Parameter Name | Description |
---|---|
source_folder | Path of the folder to be copied |
destination_folder | Path where the folder should be copied to |
Return value | Description |
---|---|
Destination Path | Returns the path of the copied folder |
Copy folder (C:\Travel_Invoices, E:\Invoices)
To view all the File functions, click here.