Europa MacDonald
asked on
how to list the names of all files in a directory to a text file
I have thousands of files in a directory and now I have to list all their names into a text file.
what is the best way to do this. btw, it would be better if each file name started on a new line.
thanks
what is the best way to do this. btw, it would be better if each file name started on a new line.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's a fancy version of Print Folder http://no-nonsense-software.com/printfolder/ but there is a free version that I use too. And here's a method from Microsoft: http://support.microsoft.com/kb/321379
ASKER
where is filelist.txt created ?
ASKER
found it
can I do this without having the creation time and date and file size printed ?
can I do this without having the creation time and date and file size printed ?
Don't think so.
If you type dir /? you will see all of the options.
What I would do is import it into a spreadsheet and delete the columns you do not want.
If you type dir /? you will see all of the options.
What I would do is import it into a spreadsheet and delete the columns you do not want.