system.files / system.folders: how to include dotfiles?

19 views
Skip to first unread message

Jason S

unread,
Aug 2, 2012, 12:46:02 PM8/2/12
to js...@googlegroups.com
I need to enumerate files/subdirectories within a particular directory, including those that begin with an initial ".". The JSDB docs say for system.files() and system.folders():

-----
filesfilespec )
filespecdefaults to "*.*"
Returns an array of file names. Directories and are excluded. System files, hidden files, and names beginning with . are excluded.
foldersfilespec )
filespecdefaults to "*.*"
Returns an array of directory names. Files are excluded. System folders, hidden folders, and names beginning with . are excluded.
-----

Aside from spawning a "dir /b" process, is there any way to use JSDB's builtin functions to include dotfiles?
Reply all
Reply to author
Forward
0 new messages