Windows Files to Text File
-
I would like to have a listing in a text file of all the files in a directory, including all sub-directories. I have been using:-
dir c:\myDir /s >> myfiles.txt
But are they any way you can get a tree type structure written to this file. Many thanks, Graham. grahamfff
-
I would like to have a listing in a text file of all the files in a directory, including all sub-directories. I have been using:-
dir c:\myDir /s >> myfiles.txt
But are they any way you can get a tree type structure written to this file. Many thanks, Graham. grahamfff
try tree /?
"An education isn't how much you have committed to memory, or even how much you know. It's being able to differentiate between what you do know and what you don't." - Anatole France
-
I would like to have a listing in a text file of all the files in a directory, including all sub-directories. I have been using:-
dir c:\myDir /s >> myfiles.txt
But are they any way you can get a tree type structure written to this file. Many thanks, Graham. grahamfff
-
Try to use this command:
c:\tree foldername > textfilename.txt
A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office