3.3.2.19 File

Copy a file to another file.

Syntax:

file   option Path\FileName1 Path\FileName2

Options:

-c; Copy FileName1 to FileName2

Syntax: file -c Path\FileName1 Path\FileName2

Copy FileName1 to FileName2. If no path is specified, the Origin installation folder is used.

Examples:

This script copies a User's INI file to the Origin Installation folder with a new name:

file -c "%YOrigin.ini" STD.ini;

(%Y is a string variable that holds the path of the User Files Folder.)