Output File/Folder Hirerchy to XML

Category:
Files and Directories
Type:
Applications
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
This will create an XML file in the root directory of a specified path which contains a node for all the files and folders listed, while maintaining the folder hierarchy. It also contains information like Size, last modified etc.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: