rec.autos.simulators

Is there a program for.........?

Brian Fo

Is there a program for.........?

by Brian Fo » Thu, 24 Oct 1996 04:00:00

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.racesimcentral.net/
                    http://www.racesimcentral.net/

When I die, I want to go peacefully, like my grandfather in his sleep,
not screaming like the other passengers in his car.

Glenn Davi

Is there a program for.........?

by Glenn Davi » Thu, 24 Oct 1996 04:00:00


>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              *

***************************************************************************

David Gree

Is there a program for.........?

by David Gree » Fri, 25 Oct 1996 04:00:00


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.


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.