folder content to xml or html

Discussion in 'Windows Desktop Systems' started by CHiLLaXen, Oct 6, 2004.

  1. CHiLLaXen

    CHiLLaXen hypnotika

    Messages:
    107
    Location:
    Minnesota
    Hey, I'm looking for a program that can take contents of a Folder and produce a xml sheet or a html file out of it. I've been searching around but don't really know what to search for. I've searched for: folder to xml, convert folders to xml, etc. :confused:
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    I don't quite understand what you mean.
    What would the HTML file display? Just a list of all the files in the specified folder?
     
  3. CHiLLaXen

    CHiLLaXen hypnotika

    Messages:
    107
    Location:
    Minnesota
    yes, but if I had a few subfolders, then it will create a "tree."

    say I had a folder with 2 subfolders in it. In each subfolder there were 3 files. The program will create a xml file kind of like this:
    Code:
    <folder>
       <subfolder name="name1">
          <file type="blah" name="blah1" />
          <file type="blah" name="blah2" />
          <file type="blah" name="blah3" />
       </subfolder>
       <subfolder name="name2">
          <file type="blah" name="blah1" />
          <file type="blah" name="blah2" />
          <file type="blah" name="blah3" />
       </subfolder>
    </folder>
    
     
  4. Hipster Doofus

    Hipster Doofus Good grief Charlie Brown

    Messages:
    5,920
    Location:
    Melbourne Australia
    See if this is something close to what you want>

    See what is inside a folder.

    Command Prompt. Navigate to folder. Type....dir> filelist.txt /s (Enter)

    File gets saved to that folder. Open file in notepad.

    OR

    Type Dir /b>C:\list.txt

    [include "/s" for sub-directories listing] File ends up in the root of C drive.

    [Type Dir /? for more command-line parameters]
     
  5. CHiLLaXen

    CHiLLaXen hypnotika

    Messages:
    107
    Location:
    Minnesota
    Hipster Doofus: not quite but it'll work. I might just write a program to convert that text file to a xml sheet.