Contents
Display Legacy Contents

 Print
    File/Folder Copy    
Copies a specified file or folder on terminal.

Parameters

Source File/Folder <string>

The full path to the file or folder that the user wants to copy. Don't use wilchars(*.?) in this parameter.

 
Target File/Folder <string>

The full path to the destination file or folder. Don't use wilchars(*.?) in this parameter.

 
Overwrite? <unquoted string>

This parameter defines if the user wants to replace the file or folder if the target file or folder already exists. The possible values for this parameter are: Yes, No or dynamic.

     
  • In the parameter Target File/Folder please consider that: If the user specify a different name, the file will be renamed; If the user specify a different folder, the folder will be moved; if the user specify a different file name and folder, the file will be moved and renamed; If the folder exists in the Target File/Folder path, the File/Folder is not moved.
  • If the parameter Source File/Folder ends with a '\' is treated as a Folder, otherwise is treated as a File.
  • The Source File can be an URI that can be opened as an InputStream (Android only)

See also
Samples

 
 
Updated: 3/22/2018 9:39 AM