Home / Microsoft / Microsoft DOS / Dos "Eventcreate" and Event???
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Dos "Eventcreate" and Event???  (Read 420 times)
nothlit
Topic Starter
Intermediate



Thanked: 2
Posts: 173


« on: November 04, 2009, 11:08:09 AM »

I'm sure at one point in time I found a command that would allow you search the eventlog for an event, I know you can EventCreate to add an entry, but how do I look for entries and put them to a string if found?

What do I need this for. I am using perfmon with diskspace counters which logs information to the eventlog when the alert goes off, I want the bat file that is launching to look for the event so it knows what system caused the alert. Hopefully this makes sense and hopefully I'm not losing my mind with thinking I saw such a command.

Thanks.
IP logged
Salmon Trout
Prodigy



Thanked: 501
Posts: 7,367

Computer: Specs
Experience: Guru
OS: Linux variant

1
« Reply #1 on: November 04, 2009, 12:47:42 PM »

(1)
http://technet.microsoft.com/en-us/library/cc757231%28WS.10%29.aspx

(2)
http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=event+log+command+line&btnG=Google+Search&meta=lr%3D&aq=0&oq=event+log+comma
IP logged

Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Dos "Eventcreate" and Event??? « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.061 seconds with 21 queries.