🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1140

via batchbestand html request uitvoeren of telnet aansturen

#1140
From: Telenut
Date: Fri, 28 Oct 2005 19:02
15 lines
1742 bytes
Ik ben momenteel op zoek naar een methode om uit een txt bestand de 
laatste regel tekst uit te lezen en deze weg te schrijven naar een 
telnetsessie of een html request doen met die tekst.

Het doen van die html request lukt al:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" 
"localhost/cmd.html?cmd=announce&sc=2&txt=testtekst"
of
"C:\Program Files\Mozilla Firefox\firefox.exe" 
"localhost/cmd.html?cmd=announce&sc=2&txt=testtekst"

Maar gaat telkens een nieuwe browser starten...

Iemand een alternatief?
(behalve pskill iexplore.exe)
Technical Details
Message-ID: <0Bu8f.34066$mJ4.1557571@phobos.telenet-ops.be>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news.astraweb.com!newsrouter-eu.astraweb.com!hwmnpeer01.ams!nntp.telenet.be!kwabbernoot.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,ee2ecb043c0c1b72,start
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news.astraweb.com!newsrouter-eu.astraweb.com!hwmnpeer01.ams!nntp.telenet.be!kwabbernoot.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail
From: Telenut <news@telenut.invalid>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: nl-NL, nl, en
MIME-Version: 1.0
Newsgroups: be.comp.programming
Subject: via batchbestand html request uitvoeren of telnet aansturen
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 15
Message-ID: <0Bu8f.34066$mJ4.1557571@phobos.telenet-ops.be>
Date: Fri, 28 Oct 2005 19:02:20 GMT
NNTP-Posting-Host: 213.224.78.236
X-Complaints-To: abuse@telenet.be
X-Trace: phobos.telenet-ops.be 1130526140 213.224.78.236 (Fri, 28 Oct 2005 21:02:20 MEST)
NNTP-Posting-Date: Fri, 28 Oct 2005 21:02:20 MEST
Organization: Telenet Internet