Need to create a list...

Soldato
Joined
14 Oct 2007
Posts
2,738
I have about 110 file names I need to put in to a list, I know you can do it where you type a Command in to Command Prompt and it lists all the files in that directory and puts it in to a .txt file.

Can anyone advise what it was please?

Thanks
 
dir /b >list.txt

strips out other info


to test the output, just type in

dir /b



If you don't know how to get to the folder in question. in cmd, if you wanted to go to D:\test\folder\


type in..

D: (enter)
cd d:\test\folder (enter)
dir /b (enter)
 
Cheers thanks for the help. I managed to get my list sorted and now I know all the documents I have so should help loads for work.

Cheers all.
 
Back
Top Bottom