Hi Colin,
You may want to use the /b switch (for Bare format).  This will give you a
simple list of filenames, one per line with no header or trailer info.  I think
/b is available to most or all common versions of Dos - to check, type dos /? in
a command window.  Hence something like:

dir /b *.mp3 > mp3.list

Cheers
Pedrocelli

----- Original Message -----
From: "Kyley Harris" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Offtopic List" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 8:53 PM
Subject: Re: [DUG-Offtopic] Making a text file of directory contents?


in a dos prompt

c:\dir *.mp3 > mp3list.txt

this will output the command to mp3list.txt by using the > token

Colin/Mina wrote:

>Hi,
>
>  I want to create a text file of the file names in a folder to ultimately
>insert into a CD cover via Word or some other application.
>
>  I seem to remember doing it years ago in DOS by accident but I can't
>reproduce the effect.
>
>  Please can somone suggest how to do it.
>
>Cheers
>
>      Colin
>
>
>
>_______________________________________________
>Offtopic mailing list
>[EMAIL PROTECTED]
>http://ns3.123.co.nz/mailman/listinfo/offtopic
>
>
>
_______________________________________________
Offtopic mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/offtopic

_______________________________________________
Offtopic mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to