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,798 of 42,547    |
|    Lori Fairhead to Lori Fairhead    |
|    Re: rename files with prefix    |
|    05 Dec 19 12:24:44    |
   
   From: lorif32768@gmail.com   
      
   On Thursday, December 5, 2019 at 8:14:48 PM UTC, Lori Fairhead wrote:   
   > On Monday, November 18, 2019 at 7:08:25 PM UTC, Herbert Kleebauer wrote:   
   > > On 18.11.2019 18:29, Lori Fairhead wrote:   
   > >    
   > > >> At the command promt:   
   > > >>    
   > > >> for /f %i in ('dir /b') do ren "%i" "VIETNAM-%i"   
   > > >>    
   > > >> in a batch file:   
   > > >>    
   > > >> for /f %%i in ('dir /b') do ren "%%i" "VIETNAM-%%i"   
   > > >    
   > > > This didn't work properly; the FOR loop only put the first word   
   > > > of the file name into the REN %i   
   > >    
   > > Because I never, never use spaces in file names I also don't   
   > > test it (but at least I added the " which are also only necessary   
   > > if there are spaces in the file name):   
   > >    
   > > for /f "tokens=*" %i in ('dir /b') do ren "%i" "VIETNAM-%i"   
   > >    
   > >   
   >    
   > Hello there,   
   >    
   > I used this version this time and it left a few files unchanged   
   > Of course ATM I was copying South Korean pop music videos and some   
   > have a lot of funny characters in them   
   >    
   > Kei(김지연) ‘I Go’ Official MV   
   > 러블리즈(Lovelyz) “여름 한 조각(Wag-zak)” Official MV   
   > 러블리즈(Lovelyz) “찾아가세요” Official MV   
   > 베이비소울(BabySoul) “조각달” Official MV   
   >   
      
   hmmm.... I'm just thinking, these have quotes in the filenames   
   maybe that is what it doesn't like?   
      
   LF   
      
   --- 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