pkfox wrote: > Works great in linux but I need to get it from Windows - thanks
naaa.... you need something like this and name that whatever.vbs or status.vbs Code: -------------------- Set oX = CreateObject("Microsoft.XmlHTTP") oX.Open "GET", "http://192.168.199.11:9000/settings/server/status.html?", False oX.Send "" WScript.Echo oX.responseText -------------------- Then you call it like that: > for /f "tokens=3 delims=><" %a in ('cscript /nologo status.vbs ^|find > "Spieldauer"') do echo %a > that should work in a cmd line to use it in a batch you had to double the % to %% eg: Code: -------------------- > for /f "tokens=3 delims=><" %%a in ('cscript /nologo status.vbs ^|find > "Spieldauer"') do echo %%a > -------------------- Gruss Jan ------------------------------------------------------------------------ DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=104748 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss