Question Locked

Windows explorer - file structure

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I hope someone can help. As part of a transaction we are completing I need to provide a list of all the files we have shared with another company. Is there any way I can copy the file structure and file names from windows explorer and paste as text in word or excel.

Thanks in anticipation of your help.

8 replies

by sajchurchey

You can use the "tree" command on the command line, you can print out the directory/file structure of a given folder. You will have to add some options to list files and show the tree in ASCII:

tree /a /f TargetFolder > somefile.txt

*The ">" redirects all of the output from the tree command into "somefile.txt"

Now when you open "somefile.txt" it should have a tree structure in ASCII that shows the directory structure and what files are in those directories.

Give it a try.

by john.caskie

Thank you very much everyone for your help. I used Mr Churchey's suggestion as it involved less interfering with the company PC (which our IT folks get a bit edgy about). And it worked perfectly.

Thanks again.

by john.caskie

I figured out what was required - this was my first post here and I am just catching on (as well as being computer illiterate)

Thanks,

John.

This discussion is closed to new replies.