Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Extract names of items of some folder

 
12-27-2010   #1


Windows 7 ultimate x86
 
 

Extract names of items of some folder

Hi friends.
Could you introduce me a software that can extract the names of items of a folder and save it somewhere for example in a txt or doc or another type of file?

Cheers

My System SpecsSystem Spec
12-27-2010   #2


Windows 7 Enterprise
 
 


You can do this with the dos command 'dir' and pipe ( > ) it to a txt document in the same folder.
Such as to get content listing of your musics folder, open the folder in command prompt (rclick, open command prompt here), then type:
dir > list.txt
You can also filter it for specific extensions:
dir *.mp3 > list.txt
and troll through subfolders with the /s switch
dir /s *.mp3 > list.txt
type dir /? for more info on that command if you are unfamiliar with it.
My System SpecsSystem Spec
12-27-2010   #3


Windows 7 SP1, Home Premium, 64-bit
 
 


DOS??

My DOS skills have atrophied.

What was it?

dir>prn

Something like that.

Or maybe:

Go to folder and open a DOS prompt. Type "dir /b > dir.txt" (without the quotes) and hit enter. This will put a list of the contents of the folder in a file called dir.txt, which you can print by loading it into Notepad, Word, Excel etc.

Or maybe:

Karen's Directory Printer
My System SpecsSystem Spec
.


12-27-2010   #4


 


A couple more command examples.

Make a list of all files in your Documents folder, sorting it alphabetically, leaving away dates and file sizes, not listing any folders. Save results to file Document.txt in your user folder:
Code:
dir C:\Users\YourUserName\Documents\ >C:\Users\YourUserName\Documents.txt /b /on /a-d
Make a list of all files in your Videos folder and its subfolders, sorting it alphabetically with date and time when each file was last time accessed. Save results to file Videos.txt in your user folder:
Code:
dir C:\Users\YourUserName\Videos\ >C:\Users\YourUserName\Videos.txt /s /oe /ta
Kari
My System SpecsSystem Spec
12-27-2010   #5


Windows 7 ultimate x86
 
 


I appreciate you,friends.
thank you
My System SpecsSystem Spec
Reply

 Extract names of items of some folder problems?



Thread Tools



Similar Threads for: Extract names of items of some folder
Thread Forum
Scrambled folder names, New Install General Discussion
help - how do i extract items from themes? Themes and Styles
Solved Folder names language specific? General Discussion
Solved Outlook 2010 Folder Names Etc Microsoft Office
Change default extract folder General Discussion


All times are GMT -5. The time now is 10:07 PM.



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
  

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