Search

Move File

Last Updated: Mar 15, 2021

Articles

Use this function to move 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.

Syntax

Move file (source_file, destination)

Parameters

Input Parameter Name Description
source_file Path of the file to be moved
destination Path where the file should be moved to

Sample

Move file (C:\Invoice1.pdf, E:\Invoice)

  • Moves the file Invoice1.pdf to the path E:\Invoice.

To view all the File functions, click here.

Did you find what you were looking for?