Using Win10 to change the folder tree to text setting tutorial

  

If you collect a lot of good e-books in the form of a catalogue, when a friend asks about your collection, you have not made a list. How can I quickly send a list to a friend? Don't tell me about the pictures. The thirty-four forty-story book is good to say. If you hide 30,000 books, how can you catch the pictures? At this time, it is necessary to sacrifice the Dafa of the text of the document structure.

The folder structure we usually see in the File Explorer is a graphical structure. Neither the directory tree on the left side of the Explorer nor the file list on the right can be copied to a text file at once. The resource list file can be obtained by various methods as follows.

1. Two internal commands to get the file <; branch”

If we need to turn the directory frame on the left side of the resource manager into a text file, you can do it in the command prompt window. Use the TREE command. TREE's original meaning is "tree", which is also very visual and easy to remember. Now we want to generate a list of directory tree texts for the C partition. First click on the C: drive letter in the list on the left side of the file explorer, then click on the “File” menu to open the command prompt → open the command as an administrator. Prompt & rdquo;.

The current location of the command prompt window that opens is exactly the root of the C: partition. At this time, the TREE command is issued here, and the directory tree displayed by scrolling can be seen in the window.

This directory tree is just in the display state. We can add a half-width greater than the TREE command, followed by a file name to form a shape like "TREE"; CLIST.TXT” The command, so that you can get a CLIST.TXT file in the root directory of the C: disk, which is the file directory tree of the C: partition with a tree structure.

Tip: The reason why you don't choose "Open the command prompt" is because of the level of write permission. If you select “Open Command Prompt", the system will give an error message "Deny access" when writing the command. In this case, only the output command can be redirected to a partition other than the system partition.

Small Tips:

If you want to make this <quo;[>;&#&#>>>>>>>; On the above, you can change the above command to "TREE"; CLIST.TXT /F & rdquo;, only add a /F parameter to solve the problem.

The method of generating the file list on the right is similar to the method of generating the directory. Just release the “DIR /S/ON/B > CFILES.TXT” command. In this way, you can get a pure file list text that is completely sorted by file name and contains files under each subfolder, as shown in the figure.

2. Other file tools Get the list output

Use a third-party resource manager alternative to directly generate a file resource list file. For example, using the xplorer2 file browser, after selecting all the folders to be generated, click the “Edit→Copy Name” command or the “Copy Column” command, as shown in the figure.

Then paste in the text file to get a list of folders with or without paths, as shown in the figure.

3. Self-programming right-click command one-click output list

We can also customize the registry modifier "Filelister registry modifier.reg", which contains three lines of commands. Figure:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\\Folder\\shell\\Generate File List]

[HKEY_CLASSES_ROOT\\Folder\\shell\\Generate File List \\command]

@="C:\\\\WINDOWS\\\\system32\\\\cmd.exe /C DIR \\"%1\\" /B /ON>\\"%1\\" \\".TXT\\""

Execute the file, you can generate a “file list” shortcut command in the right folder menu of the system, and then execute the command on the folder later. , you can generate a text file of the file list, as shown in the figure.

4. With dedicated small soft output web format

If we want to get a list of file structure in web format, you can use dirhtml software. This software can export the folder structure to a web page format. After specifying the original directory, setting the file type and outputting the HTML file, click “Create” to create a list of web page format files, as shown in the figure.

By customizing file types, you can also generate a list of viewing text files, images, or any other type of file. The software does not scan shortcuts and empty folders.



Extended reading:

The above only lists an example of generating a book list. In fact, all computer-managed files, as long as the file name has feature identifiability, can use the above techniques to generate a list listing document. In this way, all walks of life can use this technique.

Copyright © Windows knowledge All Rights Reserved