Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: bat поиск слова в файле 
Author Message
EN88



PostPosted: Mon Jun 06, 2011 12:11    Post subject: Reply with quote

Собственно, вот работающий кусок. Делает то, что нужно.

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
)
)
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group