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,997 of 42,547    |
|    ehabaziz2001@gmail.com to All    |
|    process hierarchy for a folder    |
|    20 Aug 14 13:34:42    |
      I need to process certain commands over files that exist in sub directories       under one folder .              My hierarchy is like this :              \Main_folder\sub1\file1.txt       \Main_folder\sub1\file2.txt       \Main_folder\sub2\file1.txt       \Main_folder\sub2\file2.txt       \Main_folder\sub3\file1.txt       \Main_folder\sub3\file2.txt              I need the output to be like with the same structure of the main folder and       the output of processing of each file will yield a file with the ext of out       like this:                     \Out_Main_folder\sub1\file1.out       \Out_Main_folder\sub1\file2.out       \Out_Main_folder\sub2\file1.out       \Out_Main_folder\sub2\file2.out       \Out_Main_folder\sub3\file1.out       \Out_Main_folder\sub3\file2.out                     How can I accomplish this task using a batch file ?       Thanks              --- 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