On Sat, 28 Apr 2001 15:35:59 +0200 [EMAIL PROTECTED] writes:
> Aaron P Ingebrigtsen (Fri, Apr 27, 2001 at 04:28:42PM -0700):
> > I'll put my batch files in this message.  It is easy to do 
> insertions
> > with batches, but it takes forever.  I wish I could start multiple
> > instances of the freenet insert program with just one batch, and 
> have
> > them all run simultaniously on my Win95 system.
> 
> AFAIK you can do this with the start-command.

What is the start command?

If I go do dos and type "start" it will say that it cannot find the file
or command.  So what are you talking about?

> 
> (hahaha... even CP/M supports starting programms in background....)
> 

Uh, this isn't CP/M, and DOS only supports background programs when they
are TSRs or when you are in an Miltitasking evironment like Windows.  And
I don't know if I can start multiple simultaneous instances of finsert
with one batch file.  I suppose I could create a whole bunch of batch
files then select the all from explorer and hit enter.  But thats not the
same thing.

> > @echo off
> > g:
> > cd \freenet
> > finsert 
> SSK@************************/Krepta's_Freenet_Web_Site/red.png
> > e:\private\freenet\website\red.png
> > finsert 
> SSK@************************/Krepta's_Freenet_Web_Site/sign.png
> > e:\private\freenet\website\sign.png
> .....
> 
> can't you use a for-loop????

I don't want to use it anymore.  Why?  Because I have multiple version of
files and I only want to upload the most recent versions, not an entire
directory structure off of my hard drive.

> 
> e:
> cd \private\freenet\website
> for %f in ( *.* *\*.* ... ) do finsert
SSK@bar/Krepta's_Freenet_Web_Site/%f %f

Actualy the correct command in the batch would have %%f instead of just
%f, and it would insert under the key without recreating the directory
structure, AND it would insert with the all CAPS DOS 8.3 names of the
files, not the lowercase win95 longnames that they should be.  And the
... shouldn't be there, it will just make such a mess at the end of the
thing.

I tried this sinple test command at the command prompt:

for %f in ( *.* *\*.* ... ) do rem %f

And the output was this:

E:\PRIVATE>rem MODEM.TXT MODEM.TXT

E:\PRIVATE>rem PAYPAL.TXT PAYPAL.TXT

E:\PRIVATE>rem MSK.TXT MSK.TXT

E:\PRIVATE>rem BFISH.GIF BFISH.GIF

E:\PRIVATE>rem ENTROPIA.TXT ENTROPIA.TXT

E:\PRIVATE>rem FMAIL.UC2 FMAIL.UC2

E:\PRIVATE>rem BAD.TXT BAD.TXT

E:\PRIVATE>rem FORNOTES.TXT FORNOTES.TXT

E:\PRIVATE>rem FOREX.TXT FOREX.TXT

E:\PRIVATE>rem POSTMA~1.HTM POSTMA~1.HTM

E:\PRIVATE>rem VWEBSE~1.TXT VWEBSE~1.TXT

E:\PRIVATE>rem ... ...
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

_______________________________________________
Chat mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/chat

Reply via email to