Member of the support class.
c = cd
c = cd '..'
c = cd(a)
c = cd a
Returns or modifies the working directory.
| Name | Description |
| a | Specifies a new working directory. a is a string. |
| Name | Description |
| c | If you specify c = cd, c returns the current working directory. If you specify c = cd '..', c changes the working directory to the parent directory of the current working directory. If you specify c = cd(a) or c = cd a, c changes the working directory to a. c is a string. |
Changes that you make to the working directory with this function apply to all MathScript Nodes in the same application instance as the LabVIEW MathScript Window.
You can change the default working directory by selecting FileğMathScript Preferences to display the MathScript Preferences dialog box and entering a directory in the Working Directory text box.
C = cd
C = cd '..'
C = cd('C:\Program Files\National Instruments')