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 68,006 of 68,980   
   Auric__ to John   
   Re: Bulk copy with changed extension   
   20 Feb 23 21:40:28   
   
   From: not.my.real@email.address   
      
   Kerr-Mudd, John wrote:   
      
   > On Mon, 20 Feb 2023 19:22:51 -0000 (UTC)   
   > "Auric__"  wrote:   
   [snip]   
   >>   copy /Y *.ino *.txt )   
   [snip]   
   >> Also, this will prompt you to overwrite any existing .txt files with   
   >> the same name, and will stop until you answer. To overwrite without   
   >> prompting, remove "/Y" from the "copy" line.   
   >   
   > I thought /Y suppressed prompts? It does here (WinXP).   
      
   Argh. Dangit. Yes. I had it backwards in my head, because I'm seriously out   
   of practice with batches. Absolute brainfart.   
      
   Terry: As written, the batch *will* overwrite without prompting. Remove the   
   "/Y" to make it confirm every overwrite (which is not a bad idea).   
      
   --   
   I think I prefer my evil to be unapologetic.   
      
   --- 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