Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > System

addpath

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

Adds a directory to the path.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

addpath("directory");

Adds a directory to the path.

This function does not return any data.

 

Examples

Adds a second directory to the path.

?getpath;

C:/Program Files/Lumerical/FDTD/scripts

 

addpath("C:/demo");

?getpath;

./

C:/Program Files/Lumerical/FDTD/scripts

C:/demo

 

 

Clears the path.

clearpath;

?getpath;

./

 

See Also

System level, getpath, which, pwd, clearpath

Copyright Lumerical Inc. | Privacy | Site Map