Please enable JavaScript to view this site.

Knowledge Base

Copies a file. The copy can be created in a specified path.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

cp("file1","file2");

Makes a copy of file1 called file2.

This function does not return any data.

cp("path1\file1","path2\file2");

Copies file1 in path1 to file2 in path2.

 

Examples

Makes a copy of "myscript.lsf" in c:\working called "temp.lsf".

cp("c:\myscript.lsf","c:\working\temp.lsf");

 

See Also

System level, mv, pwd, copy (objects)

Copyright Lumerical Inc. | Privacy | Site Map