Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > System

mv

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Moves a file to a new location. Path can be specified.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

mv("file1","file2");

Moves file1 to file2.

This function does not return any data.

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

Moves file1 in path1 to file2 in path2.

 

Examples

Moves "myscript.lsf" to c:\working and renames it "temp.lsf".

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

 

See Also

System level, cp, pwd

Copyright Lumerical Inc. | Privacy | Site Map