home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   OS2BBS      Support For OS/2-Based BBS Software      296 messages   

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

   Message 277 of 296   
   mark lewis to Sean Dennis   
   Questions about batch file   
   10 Dec 19 16:02:52   
   
   REPLY: 1:18/200 5ded952a   
   MSGID: 1:3634/12.73 5df00a3f   
   PID: GED+LNX 1.1.5-b20180707   
   CHRS: CP437 2   
   TZUTC: -0500   
   TID: hpt/lnx 1.9.0-cur 17-02-17   
      
    On 2019 Dec 09 00:26:38, you wrote to All:   
      
    SD> Needing a little help here...I wrote a simple batch file to process my   
    SD> weekly Fidonet nodelists.  Should I be using something like nodelist.0??   
   or   
    SD> should I use nodelist.0* in the below batch?   
      
   i don't know that it matters but some positive critique maybe?   
      
    SD> === Cut ===   
    SD> @echo off   
    SD> cd\qnode   
    SD> if exist d:\bt\in\nodelist.z?? copy d:\bt\in\nodelist.z??   
      
   if exist d:\bt\in\nodelist.z?? move d:\bt\in\nodelist.z?? d:\qnode\   
      
    SD> for %%A in (nodelist.0?? nodelist.1?? nodelist.2?? nodelist.3??) do   
    SD> echo   
    SD> y|del %%A unzip nodelist.z?? echo y|del nodelist.z??   
      
   then you don't need the above part at all... but that kinda looks mangled,   
   now... i'd still do the move but i'm also still thinking in 4DOS/4OS2 mode...   
   i'd probably do something like   
      
     @echo off   
     d:   
     cd d:\qnode   
     if exist d:\bt\in\nodelist.z?? move d:\bt\in\nodelist.z?? d:\qnode\   
     if exist nodelist.0?? del /y nodelist.0??   
     if exist nodelist.1?? del /y nodelist.1??   
     if exist nodelist.2?? del /y nodelist.2??   
     if exist nodelist.3?? del /y nodelist.3??   
     unzip nodelist.z??   
     del /y nodelist.z??   
      
   it'll probably be faster than the loop but i dunno... it might also be "del /q"   
    but i don't recall the raw OS/2 del command options any more...   
      
   )\/(ark   
      
   Once men turned their thinking over to machines in the hope that this would set   
    them free. But that only permitted other men with machines to enslave them.   
   ... Your call will be ignored in the order it was received.   
   ---   
    * Origin:  (1:3634/12.73)   
   SEEN-BY: 1/120 123 15/0 2 18/0 200 19/36 20/4609 34/999 90/1 104/115   
   SEEN-BY: 106/201 114/224 702 705 706 116/18 116 120/331 123/0 25 50   
   SEEN-BY: 123/140 150 755 128/2 73 187 253 135/300 153/7715 218/700   
   SEEN-BY: 222/2 227/114 229/354 426 452 1014 230/150 152 240/1120 5832   
   SEEN-BY: 249/206 307 317 400 250/1 261/38 100 266/512 267/155 275/100   
   SEEN-BY: 282/1031 1056 291/1 111 298/25 305/1 3 310/2 312/2 317/3   
   SEEN-BY: 320/119 219 322/757 340/400 342/13 200 396/45 640/1321 712/848   
   SEEN-BY: 801/18 161 3005/1 3634/0 12 15 27 50 119 5020/1042   
   PATH: 3634/12 261/38 15/0 317/3 229/426   
      

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


(c) 1994,  bbs@darkrealms.ca