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,915 of 68,980   
   Auric__ to Dallas   
   Re: batch file structure   
   06 Jul 22 20:59:10   
   
   From: not.my.real@email.address   
      
   Dallas wrote:   
      
   > On 7/5/2022 11:43 AM, Auric__ wrote:   
   >> The majority of my batch files tend to be one-liners anyway.   
   >   
   > How do you code a batch one-liner ?   
   >   
   > I can't remember coding any one-liners.   
      
   Like this:   
      
     dir/a-d/b/s|find /v /i ".mp3">\list.txt   
      
   or this:   
      
     D:\Wintools\Programming\tcc\tcc.exe *.c   
      
   or this:   
      
     for %%x in (*.baf) do AICompile FILE %%~nx.baf %%~nx.err %%~nx.bcs   
      
   or even just:   
      
     del *.bak   
      
   All of them almost exclusively ran from the GUI, not the command line.   
      
      
   I generally use batch files as scripts, not complete programs.   
      
   --   
   Three angels follow me. The bright one bleeds power.   
   The dark one bleeds will. The smallest merely weeps.   
      
   --- 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