Answer:
fso.MoveFile("C:\Data\CustData.txt","C:\BackUp\CustData.txt")
Step-by-step explanation:
Given
Source = C:\Data\CustData.txt
Destination = C:\BackUp\CustData.txt
Required
Code snippet to move file between directories using VScript
First, we need to write out the syntax.
The syntax to implement this is:
fso.MoveFile(Source Path, Destination Path)
The above line of code instructs the system to move the file from its source directory to its destination.
Note that the source path and destination path must include the full directories and the file extensions
In this case, the correct code is:
fso.MoveFile("C:\Data\CustData.txt","C:\BackUp\CustData.txt")