List the content of a folder with his sub-folders and files

Hello,

I found a command to list the content of a folder in a file.txt to print it after.

This is the command :

command.com /c tree /F /A > c:\Listing.txt

I have to type this command in the Menu Tools of Files Explorer.

Tools\Folders Options\Column Files Types\Folders\Advanced button
In the Modification window click on New,\Action

Question : When I go in Types Files for Folders, I See the Action column, but how can I type the line ? I check in the Directory Opus manual without success.

Thanks by advance if you can help me.

Cyrille E.

Did you know Dopus can print the folder contents: Tools > Print Folder

Or when you still want to use your code, you could create a button using this code:

"%systemroot%\system32\command.com" /c tree /F /A > c:\Listing.txt

Thanks for your answer.

I know we can print the content of a folder with Tools Printer.

But if I don't make a mistake, this command can't present folders as an tree. All folders and files are ones under others.

My command use ASCII code to create the tree. It's very useful when your list of folders and files is long.

I'm going to try the button

I came from create the button.

I type the sentence with the command copy in the field Start In of the windows Button window.

Without success. Nothing append.

Another question : I'd like to copy an image on my post, as you did before. How did you do that ?

The button works, I just tested the code. This is how you create a toolbar button:
Settings > Customize > right click the toolbar > new > new button > double click the new button > in the function field enter the code I posted above (with the quotes)

BTW: To post an image just browse for the file and click add attachment.