home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 108 
 Paul Quinn to Daryl Stout 
 Batch Command Question 
 14 Dec 13 17:38:00 
 
Hi! Daryl,

On Fri, 13 Dec 13, you wrote to me:

 DS>   So would the command be something like:

 DS> IF EXIST *LIST.Z0? ECHO O|PKUNZIP *LIST.Z0? *LIST.0??
                                       ^
Insert the -o right here, Daryl. >-----+     It's a runtime option for
PKUNZIP.  Nothing to do with DOS.  (Cut that "ECHO O|" out.)  If you run the
PKUNZIP program by itself, you will see the option listed in the on-screen
help.

 DS> Note: I'd also have the .Z#? with 1 through 9, and the last ones also
 DS> as 1, 2, or 3.
 DS>   This way, the batchfile updates the nodelist directories
 DS> automatically when a new nodelist data file arrives.

Ooh, okay.  I use the Husky nodelist updater tool.  It figures all that out by
itself.  Here's a few snippets from my batch...

[ ...some bits beforehand... ]
  :: Copy the inbound NodeList to a temp area before EzyTicIt catches it...
    IF EXIST %DOWNLOAD%\NODELIST.* COPY /Y %DOWNLOAD%\NODELIST.* %TEMP%
[ ...some bits between... ]
    CD %FIDOUTIL%
      :: Do a full nodelist update,
      nlupdate.exe
[ ...more bits afterward... ]

When it's finished, the nodelist has been updated.  (Since I only use full
nodelists these days, the old one is simply replaced.)  The %TEMP% copy bites
the dust after the updater tool runs.  Sure, it requires a config file but
it's intelligent enough to work with PKUNZIP and multiple filenames, as
required.

 DS>   I can write a batchfile, but my programming ends at setting the
 DS> clock on the microwave oven. 

I can't do that.  It's in the kitchen, so it's the wife's job.  (Mind you, i
could never 'do' them anyhow.  Video machines, yeah, not a problem even for
days in advance.  Microwaves, nope.)

Cheers,
Paul.

... Who is General Failure and why is he reading my disk?
--- Paul's Win98SE VirtualBox
 * Origin: Quinn's Post - Maryborough, Queensland, OZ (3:640/384)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca