Hi! Daryl,
On Fri, 13 Dec 13, you wrote to me:
So would the command be something like:
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.
Note: I'd also have the .Z#? with 1 through 9, and the last ones also
as 1, 2, or 3.
This way, the batchfile updates the nodelist directories
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.
I can write a batchfile, but my programming ends at setting the
clock on the microwave oven. <G>
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)