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 40,883 of 42,547   
   vikingsrock@gmail.com to Axel Berger   
   Re: Copying certain folders in ms-dos   
   29 Dec 13 14:53:59   
   
   Thank you, Axel. Appreciate your answer.   
      
   On Sunday, December 29, 2013 5:48:12 PM UTC-5, Axel Berger wrote:   
   >  wrote:   
   >   
   > > Any help is greatly appreciated.   
   >   
   >   
   >   
   > My standard tool for "everything" is a powerful editor.   
   >   
   > I'd begin with a "dir /b /on * > temp.bat"   
   >   
   > Call up the editor with "temp.bat" and a macro.   
   >   
   > That macro   
   >   
   > - deletes all line not ending in "service/test.txt"   
   >   
   > - changes all remaining lines into copy commands   
   >   
   > - (ends itself and the editor)   
   >   
   > Call temp.bat   
   >   
   >   
   >   
   > Done   
   >   
   >   
   >   
   > I frequently autogenerate far more involved batch files that way.   
   >   
   >   
   >   
   > P.S: Have you taken your parents to court for child abuse over your   
   >   
   > name?   
      
   --- 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