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.

   BATPOWER      Batch Language Programming      216 messages   

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

   Message 34 of 216   
   Richard Webb to Bill Gordon   
   Batch file help   
   09 Sep 11 22:37:22   
   
   HEllo Bill,   
      
   On Fri 2011-Sep-09 16:38, Bill Gordon (1:3634/22) wrote to All:   
      
   BG> I need a batch file that looks at my FidoNet inbound directory and   
   BG> has  a file checking function that checks for either a semaphore or   
   BG> a nodediff  or a nodelist itself.   
      
   BG> Not being a programmer, I'm kinda out of my depth.   
      
     PRetty broad request, but let's see if I can help.   
      
   I use binkleyterm as my mailer, and anything I'll allow to   
   be automatically processed will be founded in my protected   
   inbound, i.e. c:\bt\prot would be the path to it.   
      
   sO, just in case binkley didn't take the e4 exit for .tic   
   files received, I then have a line in the after compressed   
   mail received code that says:   
      
   if exist c:\bt\prot\*.tic goto ticin   
      
   same with a nodediff if you like, i.e.   
      
   if exist path\nodediff.* goto nodediff   
      
   Then invoke your usual nodediff processing or whatever.   
      
   I have a directory where programs put semaphore files, if   
   flag file is found we branch to appropriate place and do   
   that process.  we'll call it working.  A separate batch   
   executes after we toss incoming mail and do other processing that looks for   
   bunches of these things, and if found   
   branches, does a lot of work, from updating databases to all sorts of good   
   things.   
      
   A few more specifics might help us help you.   
      
      
   Regards,   
              Richard   
   ---   
    * Origin:  (1:116/901)   

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


(c) 1994,  bbs@darkrealms.ca