🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4638

Re: Batch scripting vraag (W2K)

#4638
From: Marty
Date: Fri, 18 Jul 2003 10:17
31 lines
1581 bytes
"Luc Kumps" <NOkumpsSPAM@pandora.be> wrote in message news:<uNwRa.15652$F92.1930@afrodite.telenet-ops.be>...
> "Marty" <marty@pandora.be> wrote in message
> news:ba227f77.0307170235.1c73330f@posting.google.com...
> > FOR %%g in (GT*.txt) DO (
> > FIND /n /i "Reply from" "%%g"
> > )
> 
> Je zou dit kunnen vervangen door:
> 
> FOR %%g in (GT*.txt) DO call testfile.bat "%%g"
> 
> En in testfile.bat zet je dit:
> 
> FIND /n /i "Reply from" "%1"
> if errorlevel 1 goto oei
> echo %1 antwoordt
> goto done
> :oei
>  echo %1 antwoordt niet
> :done
> 
> 
> Luc K

It works indeed like that!

Thanks!

-------------
Imagination is more important then knowledge.
(A. Einstein)
Technical Details
Message-ID: <ba227f77.0307180217.6401c547@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <ba227f77.0307170235.1c73330f@posting.google.com> <uNwRa.15652$F92.1930@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,a3661f50520623e8
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-07-18 03:18:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: marty@pandora.be (Marty)
Newsgroups: be.comp.programming
Subject: Re: Batch scripting vraag (W2K)
Date: 18 Jul 2003 03:17:59 -0700
Organization: http://groups.google.com/
Lines: 31
Message-ID: <ba227f77.0307180217.6401c547@posting.google.com>
References: <ba227f77.0307170235.1c73330f@posting.google.com> <uNwRa.15652$F92.1930@afrodite.telenet-ops.be>
NNTP-Posting-Host: 193.58.130.10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1058523479 32314 127.0.0.1 (18 Jul 2003 10:17:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 18 Jul 2003 10:17:59 GMT