Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: How can I list the folders, sub-folders & file names into a txt file?

23 Feb 2012   #1

Windows 7 Pro 64 bit
 
 
How can I list the folders, sub-folders & file names into a txt file?

How am I able to list all the files & sub-folders into a text file? Need to document listings of files. could once do this in DOS but not sure if can anymore
Thx!

My System SpecsSystem Spec
.

23 Feb 2012   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Rico, and welcome to Seven Forums.

Using OPTION TWO in the tutorial below may work for you for this.

Context Menu - Add View and Print File Directory - Vista Forums

Hope this helps,
Shawn
My System SpecsSystem Spec
23 Feb 2012   #3

Windows 8.1 Pro RTM x64
 
 

Sure, from a command prompt. Enter the following, at the prompt (you will need to provide both source and destination paths):

dir source /s >> destination.txt

e.g. dir c:\ /s >> "c:\users\<username>\desktop\list.txt"
My System SpecsSystem Spec
.


23 Feb 2012   #4

Windows 7 Pro 64 bit
 
 

Great! thanks for the help. So Simple! . Didn't try the 1st solution, but will try it later. Glad those old DOS commands still work!

Regarding the dir command, using it in the active directory & gives me the file list (what I want) in the active.
dir /s >> list.txt
list.txt is placed in the active dir.
Muchas Gracias!
My System SpecsSystem Spec
23 Feb 2012   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Glad we could help.
My System SpecsSystem Spec
23 Feb 2012   #6

Win 7 Ult 64-bit
 
 

There is a free portable program FileDir - I am using it for a long time an it still works fine.
My System SpecsSystem Spec
23 Feb 2012   #7

Windows 7 x64 (SP1)
 
 

*cough* "tree /A /F > tree.txt" also works.
My System SpecsSystem Spec
Reply

 How can I list the folders, sub-folders & file names into a txt file?





Thread Tools



Similar help and support threads for2: How can I list the folders, sub-folders & file names into a txt file?
Thread Forum
Deleting the Names in the File Name Drop Down List General Discussion
Solved Batch File that grabs file names from folder to insert into batch file General Discussion
Consolidate Shortcut Folders/File Folders in Open Dialogue General Discussion
File folders and names with BC/AD dates General Discussion
How to display all audio file folders in detailed file view General Discussion
Two Program File Folders Software
Folder view - list (file names cut off) General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:44 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33