Get a full list of files below a root
directory using the dir
function and write it to a given file
list_files(root, file, use_batch = TRUE)
path to the directory from which to start "downwards" and recursively for files and folders.
path to the result file (text) to which the paths are to be written.
if TRUE
(default), a batch file is written (by
default to list_files.bat
in tempdir()
) and run to perform
the dir command