Incode Systems Home Page Incode Systems, Inc.


FILELIST



(Windows 95 or higher)

FileList - Copyright (C) 2005-2012, Incode Systems, Inc.

Usage: [options] [FileSpec]
FileList returns a list of files matching FileSpec (default *.*).
FileSpec is a filename which may contain * or ?.
Options: (may be preceeded with - or /)
-a return only files matching given attributes:
archive, directory, system, hidden, readonly
examples: -ar returns ReadOnly files, -arh Hidden, ReadOnly
-b:n (or -b:+n) select files with bytes >= n
-b:=n select files with bytes = n
-b:-n select files with bytes < n
-c use thousands separator
-d:m-d-yyyy (or -d:+m-d-yyyy) select files with date >= given date
-d:=m-d-yyyy select files with date = given date
-d:-m-d-yyyy select files with date < given date
-d:--n files with date < date today - n days
-d:+-n files with date >= date today - n days
-d:=-n files with date = date today - n days
-df: DateTime format. "is replaced with "/".
Example: "-df:mh:nn:ss.zzz amis: m/d/yyyy h:nn:ss.zzz am/pm
-e exclude file extension
-el set ERRORLEVEL 1 if no files matching parameters are found
-f include file name only (exclude path)
-fc show file count
-fce set ERRORLEVEL to file count
-i return files matching given attributes in addition to normal files:
archive, directory, system, hidden, readonly
examples: -ar returns ReadOnly files, -arh Hidden, ReadOnly
-l exclude drive letter (or -s search subdirectories
-t file time used for selection and / or display
-tw Last Written (default), -tc Creation, -ta Last Access
-t* displays all times in verbose listing
-t:h:mm:ss select files with time >= given time
-t:=h:mm:ss select files with time = given time
-t:-h:mm:ss select files with time < given time
-t:--n files with time < current time - n minutes
-t:+-n files with time >= current time - n minutes
-t:=-n files with time = current time - n minutes
-ts Evaluate -t: option as a timestamp instead of time only.
Date in -d: option (or current date) is added to time.
Without -ts, -t: option evaluates only time part of file timestamp.
-u UTC time for selection and / or display
-unc Use UNC name for files not on a local drive.
-v verbose file listing
-vt verbose file listing, tab-delimited
-vth like -vt with header row
-x short names (-v both short and long names)
-24 use 24-hour time
note: times returned are from the directory entry for the file.
Disk caching can delay directory entry updates.

if -el option is used, ERRORLEVEL is set to 1 if no files found.
ERRORLEVEL is set to 2 if a parameter error is found.

Version 1.4.0
www.incodesystems.com
mailto:info1To see complete usage, type FileList /? | more