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

findFiles

Contents

Brief Information

Searches for a file or files.

Command Line Usage

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

2. findFiles path:="C:\c" ext:= "doc";

3. findFiles path:="C:\c" time:= "010203-";

Variables

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

Input

string

path$

input full path to look for files

filename or extension ext

Input

string

*.*

input filename or extension to be finded

file size range size

Input

string

""

input file size range to be finded

file modified date time range time

Input

string

""

input file modified date time range to be finded

get result file names with full path addpath

Input

int

1

get result file names with full path or not

result file names separated by CRLF fname

Output

string

fname$

output result file names separated by CRLF

Description

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

Examples

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

Related X-Functions