gooseriver
IS-IT--Management
Using FileSystemObject how can I display the names of the files in the subfolders within that folder and include the subfolder in which the file is located. IE:
Folder structure:
Parent Folder("c:\temp")
Subfolder1 Subfolder2
test.doc code.doc
test1.doc code1.doc
test2.doc code2.doc
output:
subfolder1\test.doc
subfolder1\test1.doc
subfolder1\test2.doc
subfolder2\code.doc
subfolder2\code2.doc
subfolder2\code3.doc
-
Folder structure:
Parent Folder("c:\temp")
Subfolder1 Subfolder2
test.doc code.doc
test1.doc code1.doc
test2.doc code2.doc
output:
subfolder1\test.doc
subfolder1\test1.doc
subfolder1\test2.doc
subfolder2\code.doc
subfolder2\code2.doc
subfolder2\code3.doc
-