Rat
Not bored. Never bored.,
...create an xml file (or similar) from a directory listing, including all subdirectories and files therein. I would also be happy with one that would do it to html, but it would have to be very customisable. Oh, and this is in Windows, of course. XP, if that helps.
What I basically need is a way to create a copy of an entire (very large) directory, so that it can be read on another machine in the way that the old folder view of Windows Explorer displays folder structures (tree on the left, contents on the right), but any similarly intuitive (!) method would be fine.
Obviously creating the listing in plain text form would be easy enough; something along the lines of
should do the trick. It should then be simple enough to parse that into xml as a tree structure (the right-pane thing isn't really necessary, as long as the files can be displayed in the tree), and I initally though that perhaps it was so simple, and I was missing something so obvious, that no one would have bothered to write an application to do it. But many many people have written gui applications to print a directory listing to a text file, which obviously does exactly what the simple command line above does, so it can't be that.
Searching sourceforge points me to something called hdlg, but it fails to run correctly on my machine (it's entirely in java, and needs to be called from the command line), so I can't tell if it would do what I want. I can find nothing else, either at sourceforge or other sites, that do this.
Any help much appreciated.
Cheers,
Rat.
What I basically need is a way to create a copy of an entire (very large) directory, so that it can be read on another machine in the way that the old folder view of Windows Explorer displays folder structures (tree on the left, contents on the right), but any similarly intuitive (!) method would be fine.
Obviously creating the listing in plain text form would be easy enough; something along the lines of
Code:
dir C:\DIRNAME\ /b /o /s
Searching sourceforge points me to something called hdlg, but it fails to run correctly on my machine (it's entirely in java, and needs to be called from the command line), so I can't tell if it would do what I want. I can find nothing else, either at sourceforge or other sites, that do this.
Any help much appreciated.
Cheers,
Rat.