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_rmdir

Contents

Brief Information

Delete a subfolder under the active folder in PE

Additional Information

This feature is updated in 8.0 SR5. For more details, please refer to Release Notes.

Command Line Usage

1. pe_rmdir folder:= "Folder1";

Variables

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

Input

string

S

pecify the name of the folder to delete.

Folder Deletion Prompt folpromt

Input

int

1

Specify whether to prompt for folder deletion. If TRUE(1), Origin will prompt the user to verify before deleting the folder.

Page Deletion Prompt pgpromt

Input

int

1

Specify whether to prompt for deletion of pages in subfolder. If TRUE(1), Origin will prompt the user to verify before deleting the pages.

Description

This X-Function is used to delete a subfolder under the current active folder in Project Explorer.

Insertformulahere== Examples ==

To delete a directory named myDir in the root directory, try the following command:

pe_cd;
pe_rmdir myDir;