OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

pe_cd


Contents

Brief Information

Change project explorer directory

Command Line Usage

1. pe_cd ..;

2. pe_cd /;

3. pe_cd path:= "../subfolder1";

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Path path

Input

string

..
path of the directory to move into

Description

This X-Function is used to change the current path. You can use both absolute or relative way to change current path, like "/a/b" or "../b"

When absolute way is used, the project name can be omitted, like "/" can return to root folder.

Examples

To move out of current directory, use

pe_cd("../")

To move into a directory named myDir, use

pe_cd("C:\myDir")

To move out of the current directory into a directory named myDir, use

pe_cd("../myDir")

Related X-Functions

pe_dir