Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Server 2003 / Scripting / September 2007

Tip: Looking for answers? Try searching our database.

using VBScript + a config

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ajit - 25 Sep 2007 17:08 GMT
I am new to scripting..I found a text parsing script which works fine but I
am trying to modify it to do the following..can someone point me to a link /
help me get started.

I am trying to parse a log file but want that following be set in a config
file (XML Format)
* The string I want to find
* The strings i want to exclude
* the name of the log files
* the directory of the log files
* email address where i could forward the found string enteries.

The reason I want to use a config is that we could reuse the same Script for
multiple log scraping.
Signature

Ajit

Chris Warwick - 25 Sep 2007 17:48 GMT
If you're new to scripting I would suggest you look at PowerShell.
Especially if you want to handle XML, comprehensive support for that
is built in.

HTH
Chris

>I am new to scripting..I found a text parsing script which works fine but I
>am trying to modify it to do the following..can someone point me to a link /
[quoted text clipped - 10 lines]
>The reason I want to use a config is that we could reuse the same Script for
>multiple log scraping.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.