I have approximately 600 custom cars for nascar racing, which I am trying
to make a list of for my webpage. My problem is it is taking forever to
have the windows explorer open on the top half of the screen, and a notepad
on the bottom half, just typing each cars name, make, sponsor, etc. Is
there a program anywhere that can take the filenames from a directory and
paste them to a notepad so I don't have to type everything.
Thanks.
--
Brian Fox
The Fox Den: Nascar and ICR2
http://www.4w.com/pages/fox
http://www.geocities.com/MotorCity/1238
When I die, I want to go peacefully, like my grandfather in his sleep,
not screaming like the other passengers in his car.
>Is
>there a program anywhere that can take the filenames from a directory and
>paste them to a notepad so I don't have to type everything.
Try this:
Open a DOS Prompt in Windows and CD to the directory where the cars
are. For example, if your cars are in c:\nascar\mycars, type
cd c:\nascar\mycars
Then type the following command:
dir >mycars.txt
then type:
exit
to leave the dos prompt.
This command lists the contents of the directory and sends the results
to a file called "mycars.txt" in the same directory. You can read the
file using Notepad.
Apologies if this sounds a bit noddy :) I don't know if you've used
the dos prompt before so I thought I'd play safe and make it as simple
as possible :)
***************************************************************************
* Time is an illusion, lunchtime doubly so... * Glenn Davies *
***************************************************************************
from a dos shell you could do
dir /b >carlist.txt
or something a little more fancy
for %t in (*.pcx) do echo (DT)(A HREF="%t") %t (/A) >>carlist.txt
then in notepad do a search and replace of ( with < and ) with >
and you could have your html as well. Dos wont let you use the <> thats
why the substitute chars are needed.


































