How to create a tree file directory structure

Source: Internet
Author: User

First, the tree structure of the directory

The following form:
E:.
│.buildpath│
├─attachment
││image-not-exist.gif
││readme
││
│├─2014
││├─01
│││├─01
│││├─02
│││├─03

Method: Use the tree command under MS-DOS
1. Open a command-line window in Windows
2. Enter the "CD E:\Develop\SourceCode" below the directory you want to list
3. Run tree/f > filename "tree/f >directory.txt" at the command prompt
4, just the output of the file Directory.txt is what you want. "Type Directory.txt"

Ii. List of exported file information directories

The following form:
Directory of E:\Develop\SourceCode\attachment\2014
2014/09/19 19:27 <DIR>.
2014/09/19 19:27 <DIR>.
2014/09/19 19:27 <DIR> 01
2014/09/19 19:27 <DIR> 02

Method: Use the tree command under MS-DOS
1. Open a command-line window in Windows
2. Enter the exported directory and the generated file "dir e:\develop\sourcecode\*.*/s >c:\dir.txt"
3, just the output of the file Dir.txt is what you want. "Type Dir.txt"

How to create a tree file directory structure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.