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

findFolders

Contents

Brief Information

Searches for a folder or folders.

Command Line Usage

1. findFolders path:="C:\c";

2. findFolders path:="C:\c" addpath:=1;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
path to look for subfolders path

Input

string

path$

input path to look for subfolders

add root path to all resulting folder addpath

Input

int

0

add root path to all resulting folder or not

number of sub folders found n

Output

int

<optional>

output the number of sub folders found

result folder names separated by CRLF folder

Output

string

folder$

output result file names separated by CRLF

Description

This X-Function is used to search folders in specific path and conditions.

Examples

For more examples, please refer to XF Script Dialog (press F11).

Related X-Functions