The tree command does what you asked as far as I can see. The hard part is finding something that will display the output correctly once it's captured. I use the X2 Programmers Editor for this. Neither Notepad or Wordpad handle it.
Ah ha! Word handles it if you use the DOS encoding.
This is what it looks like when I edit the captured output of the tree command in X2 from a Command Prompt and Word:
which is what it looks like from the command prompt itself.
Ah ha! Word handles it if you use the DOS encoding.
This is what it looks like when I edit the captured output of the tree command in X2 from a Command Prompt and Word:
which is what it looks like from the command prompt itself.
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Lenovo IdeaCenter 450
- OS
- Windows 10 Pro X64
- CPU
- Intel Quad Core i7-4770 @ 3.4Ghz
- Memory
- 16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
- Graphics Card(s)
- Intel Integrated HD Graphics
- Sound Card
- Realtek HD Audio
- Monitor(s) Displays
- HP 22" LCD
- Screen Resolution
- 1680 x 1050
- Hard Drives
- 250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
- Keyboard
- Dell USB
- Mouse
- Lenovo USB
- Internet Speed
- Cable via Road Runner 3MB Upload, 30MB Download
- Antivirus
- Windows Defender, MBAM Pro, MBAE
- Browser
- Seamonkey
- Other Info
- UEFI/GPT
PLDS DVD-RW DH16AERSH