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_mkdir

Contents

Brief Information

Create new folder

Command Line Usage

1. pe_mkdir folder:="subfolder";

2. pe_mkdir folder:="sub" path:= aa$;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Subfolder folder

Input

string

name of the new folder to be created; if the name already exists, it will add number after name

Check if Folder Exists chk

Input

int

0

Specify if check folder exists or not.

Set as Current Directory cd

Input

int

0

Specify if set as current directory or not.

New Subfolder Path path

Output

string

<optional>

Receive new subfolder path

Description

This X-Function is used to create a new directory

Examples

To create new directory named myDir, use:

pe_mkdir("myDir")

Related X-Functions