home bbs files messages ]

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

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

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

   Message 41,791 of 42,547   
   T. Ment to Lori Fairhead   
   Re: rename files with prefix   
   18 Nov 19 16:20:12   
   
   From: t.ment@protocol.invalid   
      
   On Mon, 18 Nov 2019 07:57:23 -0800 (PST), Lori Fairhead wrote:   
      
   > How would I add a prefix to all the current files   
   > in the directory?   
      
   The hard way I think.   
      
   dir /b > my.bat   
      
   edit the file, duplicate the name column, add your change to the second   
   column, and REN each line. Easy with a editor that can copy columns and   
   fill column blocks.   
      
      
   > And why does the REN command I suggested default to such   
   > illogical behaviour?   
      
   Group rename an extension is all I know about. Maybe someone knows more.   
      
   --- 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