Search found 2 matches

by nicksfl
10 Nov 2012 17:24
Forum: DOS Batch Forum
Topic: find string with multiple instances and copy all to file.
Replies: 22
Views: 20818

Re: find string with multiple instances and copy all to file

sorry for that, here is the input [javac] \common\bpm\IBPMProcessIdentifier.java [javac] \common\bpm\IGenericHandlerRegistrar.java [javac] \common\bpm\IProcessInfoProvider.java [javac] \common\bpm\IProcessPersistenceManager.java [javac] \common\bpm\WorkItemInfo.java [javac] \common\brms\config\BRMSI...
by nicksfl
10 Nov 2012 16:39
Forum: DOS Batch Forum
Topic: find string with multiple instances and copy all to file.
Replies: 22
Views: 20818

Re: find string with multiple instances and copy all to file

The code works perfect for my situation also. But if someone can help to fix the code to display five lines instead of two will help me a lot. I am using following code: @echo off @echo off cls del test.txt setlocal enableDelayedExpansion set infile="log.log" set search="java:" s...