I need to look at the complete file structure of a machine on a regular basis, so we are building an XML file of the complete file structure. The resulting XML file looks like
Currently we have a script which run tree in dos and then parses through the output file from tree. Surely there's a simpler way?
Any ideas?
Code:
<folder name="windows">
<file name="explorer.exe">
<file name="iexplorer.exe">
<folder name="system32">
<file name="explorer.dll">
<file name="iexplorer.dll">
</folder>
</folder>
etc...
Currently we have a script which run tree in dos and then parses through the output file from tree. Surely there's a simpler way?
Any ideas?