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