Simple Dos Command

Musicman6425

Member
Jun 21, 2000
133
0
0
This is simple...
What is the DOS command that will take all items in a directory and write the names to a .txt file? I need to have a list of file in one directory and I don't want to do it by hand.
 

kranky

Elite Member
Oct 9, 1999
21,020
156
106
If you just want the filenames without the date/size stuff, add the /B switch.
 

Musicman6425

Member
Jun 21, 2000
133
0
0
Thank you both Ladi and Kranky,
That is exactly what I needed, but could not think of it for the life of me.

Music