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 40,896 of 42,547    |
|    foxidrive to ehabaziz2001@gmail.com    |
|    Re: processing same files with same pref    |
|    17 Jan 14 03:47:38    |
   
   From: foxidrive@server.invalid   
      
   On 17/01/2014 01:09, ehabaziz2001@gmail.com wrote:   
      
   >> > @echo off   
   >> >   
   >> > for /f "tokens=1,* delims=_" %%a in ('dir *.txt /b ') do (   
   >> >   
   >> > if not exist "%%a.txt" copy "%%a_*.txt" "%%a.txt"   
   >> >   
   >> > )   
   > I can find only 1 part from each kind :   
   >   
   > ehab_part1.txt   
   > ehab_part2.txt   
   >   
   > AndyJones_part1.txt   
   > AndyJones_part2.txt   
   >   
   > David_part1.txt   
   >   
   > Hamilton_part2.txt   
      
      
   What are you saying?   
      
   Please explain.   
      
   --- 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