How to list files in a directory and all subdirectories - VisualCron - Forum

Community forum

J Kruger
2010-07-06T11:23:08Z
Hi

I need to know how to list all files in a directory and sub-directories.

Job needs to do this:

1) Check directory and sub-directories / folders at 8.00am (for example)
2) Email notification to recipients with all files present in directory and sub-directories listed. So the file paths, file names and date / time file was last modified need to be written to a text file and or email.

Is this possible?

Thanks, Judi
ErikC
2010-07-06T11:26:41Z
Hi Judi,

With a batch file you can show up all the files and directories. You can do this with the DIR command. Use some options to see all the subdirs.
Than you can use this output as the content of your email or for a file write task.

Regards,
Erik.
Uses Visualcron since 2006.
Scroll to Top