![]() |
VOOZH | about |
The ASP Move Method is used to move the specified file or folder to the given destination.
Syntax:
For File object:
FileObject.Move(destination)
For Folder object:
FolderObject.Move(destination)
Parameters: This method has a single parameter as mentioned above and discussed below:
The below examples demonstrate the ASP Move Method.
Example 1: The below code demonstrates the ASP File.Move Method.
Output:
Original File Content: This is an example file File is Moved! Moved File Content: This is an example file
Example 2: The below code demonstrates the ASP Folder.Move Method.
Output:
Folder is Moved! Folder successfully accessed