Print a tree structure

Kolibot -  
 Ghjeffu -
Hello everyone!

I'm looking for help to print the structure of a directory with 400 folders and over 15,000 files. After searching online, I discovered the tree function in msdos. First problem, I can't print in dos :( tree/F>prn doesn't give anything ) so I'm saving it to a file via tree/F>toto.txt but I don't have the size or the last modified date of each file. If anyone has a little idea of what I could use :) (or are there any parameters we could add to the tree command ...) Thank you very much to those who took the time to read this post :)

11 answers

  1. Numa
     
    Hello,
    If you want to record the directory structure of a disk or a folder, here is a simple solution based on a DOS command. After searching for a solution, I found this one that works very well for me.

    Create a new .txt file.

    Paste this into it:

    DIR/W/X/4 > Arbre.txt

    And save it as Arborescence.bat

    Next:
    1. Place this Arborescence.bat file in the directory where you want to record the folders and files.
    2. Click on Arborescence.bat
    (it takes a few seconds... no panic)
    And voilà, you have a text file named Arbre.txt; open it and here is the structure of your folder and files.

    Thank goodness for DOS :-)

    Good luck!

    Numa
    29
    1. Ghjeffu
       
      Thank you very much, it works really well. It's minimalist and that's more than enough to work on my sitemaps and share them.
      0