How to print folder and subfolder contents

  • Thread starter Thread starter Victor
  • Start date Start date
V

Victor

I am trying to print a list of my folders, subfolders and
files located in the folders. How can I do this? I have
tried to use tree /F but the list is too long.
 
Victor said:
I am trying to print a list of my folders, subfolders and
files located in the folders. How can I do this? I have
tried to use tree /F but the list is too long.

tree is a good program. Instead of printing it, first direct the output
to a file and then delete the stuff you don't want by editing the file,
say in Notepad.

tree /ff > filename.txt

is the command. You can also use the dir command if you want.

Check the options for both programs with the /? switch and maybe that
also will help you limit the information you are seeking.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top