The Dink Network

Program that makes a text file listing the contents of a directory/folder

March 12th 2004, 01:59 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Anyone know of such a beastie... my brain hurts.
March 12th 2004, 12:48 PM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
Go into your start menu, and type the following:

command

and then press Enter.

Then you just type:

dir /b 'path' > 'file-to-store-listing'

So an example would be:

dir /b c:\windows > c:\windowslist.txt

This would leave a file c:\windowslist.txt with the files in the windows folder.
March 12th 2004, 03:49 PM
wizardb.gif
merlin
Peasant He/Him
 
Do you want to make an actual program, or a batch file?
March 14th 2004, 03:21 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Thank you... that's what I want... just a text file that lists the contents of a directory