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,007 of 68,980   
   Terry Pinnell to not.my.real@email.address   
   Re: Bulk copy with changed extension   
   21 Feb 23 13:14:42   
   
   From: me@somewhere.invalid   
      
   "Auric__"  wrote:   
      
   >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).   
      
   Thanks. I do want it to overwrite automatically.   
      
   But can you step me through the process to test it please? I assumed I   
   could run it as it stands, expecting a command window with a prompt for   
   the target? But a brief flash is all I get.   
      
   --- 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