• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Create list of files in a directory?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Chez

Member
Joined
Oct 10, 2002
Location
Dallas, TX
Is there any way, in windows XP Pro, to create a text file containing the names of all the files in a particular directory?

If not, is there any software (preferably free!!!) that can do this?

Thanks
Chez
 
or you can do it the easy way...

NookieN said:
Open the command prompt (cmd in Win2k and XP), cd to the directory you want and type

dir

If you want to save the output to a file type

dir > dirlist.txt

If you want files in all of the subdirectories of that directory type

dir /s > dirlist.txt

:)
 
Back