Copy File

Tools File Management Copy            Shared Dialog Box
Copies a file on the file system.
Your template-based product provides a run-time interface for copying files on the file system. You can copy files by specifying from and to directories. In addition, for many files you can take advantage of the CDB (Car DataBase) structure to facilitate the copying. For example, you can copy a bushing property file from one database to another. Rather than use the filesystem path (C:\Program Files\Adams12.0\acar\shared_database.cdb\bushings.tbl), you can use the database alias C<shared\bushing.tbl>, which you can access by right-clicking.
 
For the option:
Do the following:
Filename
Enter the name of the file you want to copy.
New Filename
Enter the destination file name.
Example input:
Filename (as entered in the text box above): /usr/people/gabriel/private.cdb/templates.tbl/prototype.tpl
New Filename: prototype_2000.tpl
If copying to the old file's directory, the resultant file is /usr/people/gabriel/private.cdb/templates.tbl/prototype_2000.tpl
You can also right-click and select one of your databases. In this case, you will need to provide a new file name in the Filename text box, and then select OK. Alternatively, you can type the path and file name.
To Database Name
Select from the available list of databases, which may be some or all of the databases found in the search list (only the writable databases are valid choices for this operation).
When you use this option, Adams requires that the file name you specified is located under a table directory within a database structure (bushing.tbl, dampers.tbl, plot_configs.tbl, and so on). This is because the copy file algorithm will attempt to copy the file to the corresponding table in the selected database. For example, <shared>/assemblies.tbl/MDI_Demo_Vehicle_lt.asy would be copied to <private>/assemblies.tbl/MDI_Demo_Vehicle_lt.asy, if you selected <private> as the database name.
 
Note:  
The new file name will always have the same extension as the old file name. If you input a different extension for the new file name, your template-based product will modify it to correspond to the extension of the old file name.