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: Create txt file of folder contents

02 Mar 2014   #11

Windows 10 Pro (x64)

C:\FOLDER> tree /A /F > tree.txt
Tree is built in the command line. With some simple search and replace can remove the bits you dont want.

My System SpecsSystem Spec
03 Mar 2014   #12

Windows 7 32 bit

Quote   Quote: Originally Posted by logicearth View Post
C:\FOLDER> tree /A /F > tree.txt
Tree is built in the command line. With some simple search and replace can remove the bits you dont want.
Another approach. But one thing good about a working script is you can enhance it. For example if only .avi and .mp4 are of interest the search may use *.* then filter with
If Ext in avi,mp4
yadda yadda

Of course this is a knock-off. A polished script would allow for input types, result filename etc..
My System SpecsSystem Spec

 Create txt file of folder contents

Thread Tools

Similar help and support threads
Thread Forum
How to create a current date folder using batch file?
Hi I am using following batch file for cleaning the desktop and also for taking backup of desktop: @echo off set curr_date=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2% mkdir "%USERPROFILE%\My Documents\backup\%curr_date%_backup"
General Discussion
why cant we create CON folder/file ???
why cant we create CON folder/file ??? for what it refers to ??? plz share ur views... :sarc:
General Discussion
Batch file to create a folder with name of the time.
I'm trying to write a batch file that when run creates a folder named "Backup" followed by the time it was created, and then copies files to that folder. When I run md "C:\Users\MasterControlProgram\Documents\MC Server With Backup\Backups\Backup %DATE%\" xcopy /e /v /y...
Backup and Restore
Batch file to move (many) duplicted folder contents - Help!!
Hope I can explain my difficulty. I have duplicated folders album name for all my music files. As there is quite a considerable number I wondered if it was possible to batch file (automate) the process. I can not delete "d" as this would delete all the tracks. What I need to do is move the...
General Discussion
How do I create file and folder pairs in Windows?
Is there a way to group some folder and files together so that when I move one of them, they all get moved to a new location together?
General Discussion
How to create a file in a folder?
I usually hang around fora dealing with antique farm equipment and always feels sorry for the guy who asks how to adjust the main jet on a Farmall H carb and two out of three responders tell him how to use the Search function. So I've spent a day or two worth of spare time searching through the...
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 17:42.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App