Page 1 of 1

Obtain Filelist from Folder

PostPosted: Wed Nov 20, 2013 9:06 am
by ajhunt
Hi guys, if anyone can help with a plugin or something to get the filenames from an existing folder it would be appreciated as it looks like rtFSM doesn't seem to do it in Win7!! - many thanks for any suggestions. Regards Anthony

Re: Obtain Filelist from Folder

PostPosted: Wed Nov 20, 2013 9:18 am
by dec
Hello,

Take a look at the FileList action:

FileList

Purpose:
Generate a list of files and/or folders found in the specified path.

Category:
Files

Syntax:
FileList "file mask" "options" "variable"

file mask

The path and file name mask to search. The mask can include wildcard characters. For example, "C:\Sample\*.*" will list all files in the C:\Sample folder.

options

Can include any combination of the following:

Files
Include files in the list.

Folders
Include folders in the list

NoExt
Remove extensions from file names before adding them to the list.

variable

The name of the variable to store the list. Multiple files will be separated by carriage returns.

Example:
The following example compiles a list of all JPEG images in the "C:\My Photos" folder and stores them in a variable called [Pics]:

FileList "C:\My Photos\*.jpg" "Files+NoExt" "[Pics]"



If need more take also a look at my npFind plugin.

Re: Obtain Filelist from Folder

PostPosted: Wed Nov 20, 2013 9:21 am
by ajhunt
Opps - just look and read - use the builtin "FileList action. Thanks anyway guys.

Re: Obtain Filelist from Folder

PostPosted: Mon Nov 25, 2013 1:29 pm
by HackinHoodLogicsTm
The filelist action will be great :P