Forum Discussion
gkainz
Sep 15, 2018Explorer
Do you want all the directories in the TREE starting with DOCUMENTS and also starting with PHOTOS only? Or do you want the directory CONTENTS listed?
In the DOS command window, change directory to Documents
cd c:\... whatever ... \documents
dir /s >doclist.txt
dir /s displays the directory tree and contents, then the > pipes it to file named doclist.txt
if you just want the directory names under DOCUMENTS, then
dir /s /A:D >doclist.txt
sorry, apparently no CODE box format on this forum ... the slash Capital A colon D gets turned into an emoji
then print the file doclist.txt
do the same for photos
In the DOS command window, change directory to Documents
cd c:\... whatever ... \documents
dir /s >doclist.txt
dir /s displays the directory tree and contents, then the > pipes it to file named doclist.txt
if you just want the directory names under DOCUMENTS, then
dir /s /A:D >doclist.txt
sorry, apparently no CODE box format on this forum ... the slash Capital A colon D gets turned into an emoji
then print the file doclist.txt
do the same for photos
About RV Must Haves
Have a product you cannot live without? Share it with the community!8,793 PostsLatest Activity: Feb 08, 2025