| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Special Requests |
PE> No, I wasn't being sarcastic. It fixes files.20 up, but doesn't
PE> regenerate f711x934.txt.
I misunderstood what you were saying...
PE> I could call my batch file twice, since it only takes 10
PE> seconds or something, I just haven't done that.
I did it intentionally because it was the way you wrote the batch
file. I thought you wanted to revise files.20 one day, and then the
FILES list the next.
BL> Sending a zero-length file has a certain panache, but why do
BL> you need the file? The TIC itself should be enough.
PE> Show me the mods I need to this bt.cmd fragment...
PE> "cd\yatic"
PE> "yaticp"
ROFL! That's how you caught me the last time...
I've found the correct way to write nullzero: don't use tmp files.
First, you rename to file to FILES.BAK, then you write the altered
file back into FILES.TXT with the names of the archived files into an
array for FILES.20. You keep FILES.BAK until the end, just in case
something goes wrong. This is pretty fundamental...
You do the same thing with FILES.20, and if it fails you restore
FILES.TXT by renaming the .BAK file. If the worst happens, you've
still got the files untouched, or at very worst, the BAK files.
This latest version of NULLZERO goes in the same directory as
FILES.20 like before and takes the full path of FILES.TXT as a
parameter. If all goes well, it strips the archived files out of
Special Requests in FILES.TXT and the same lines out of FILES.20.
If it finds no archived files in FILES.TXT is does nothing and if
there are more than 128 files it does the best it can (128) and gets
the rest the next time. If it fails, it says so. It needs enough room
in both directories to duplicate FILES.TXT and FILES.20.
section 1 of 1 of file nullzero.zip
begin 644 nullzero.zip
M4$L#!!0````(`-JA82'8"YU,XP0``#\0```*````3E5,3%I%4D\N0]U7;6_;
M-A#^[`#Y#V3XY`43]>
M"M/KI;3G':V_&,%,7(;>MA(KS-\1U,6${at}6{at};Q"D*5601;X/M),5A-;424D7<
M$681C\"OH/Z'=Q?#S8V/FQL]F40\!_U#.!{at}"CV3DCTVBP=&S\V * Origin: Precision Nonsense, Sydney (3:711/934.12)SEEN-BY: 711/934 712/610 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.