home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

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

   Message 67,908 of 68,980   
   Zaidy036 to Dallas   
   Re: batch file structure   
   05 Jul 22 10:56:44   
   
   From: Eric@Bloch.com   
      
   On 7/5/2022 8:52 AM, Dallas wrote:   
   > When you code a batch file do you have patterns that help when you   
   > compose them?   
   >   
   > For example I always start off a batch file with a line in the form   
   >   
   > @echo off % mybatchfilename.bat %   
   >   
   > Note the spaces after the first % and before the final % character.   
   > I put those there just to make sure I don't accidentally match an actual   
   > variable name.   
   >   
   > That way the content of the batch file carries the name of the batch file.   
   >   
   > I am curious if anyone has things like that that help you compose batch   
   > files.   
   My first line is always:   
      
   :: name.bat   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca