View previous topic :: View next topic |
Author |
Message |
EN88
Joined: 05 Jun 2011 Posts: 6
|
(Separately) Posted: Mon Jun 06, 2011 12:11 Post subject: |
|
|
Собственно, вот работающий кусок. Делает то, что нужно.
Code: | dir c:\PATH1 /a:-d /s /b >_temp.txt
for /f %%a in ('type _temp.txt') do (
for /f %%b in ('findstr /m /c:"for" %%a') do (
xcopy %%a c:\PATH2
)
) |
|
|
Back to top |
|
|
MVV
Joined: 15 Oct 2009 Posts: 4811 Location: Ростов-Дон
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|