I'm looking to get a script or find an application (free) that can successfully export a large directory structure to a file (any format - text, image, HTML, whatever) in a readable form. I've used the Windows "tree" command however from what I've been able to figure out this only works well if the entire directory structure can be captured in the command console buffer (most of the ones I'm dealing with can't).
I know that you can do a "tree /a > file.txt" however the ASCII output gets extremely hard to read when it spans numerous pages. The unicode output of the standard "tree" command looks fine for what I need however it looks like it's not possible to redirect the output, in unicode, to a text file even if you create the file first and save it as unicode.
If someone could get me a script, find a free (or cheap) application, or has any other way to do this it would be a huge help.
The optimal solution would be an application or script that exports the directory structure to an HTML (or other portable format) file where the folders can be expanded and collapsed like in Windows explorer.