Click here to Skip to main content
15,889,826 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I know it might sound silly, but I couldn't find the following commands (using a batch file):

1. delete some log from existing eventlog?
2. Read some log from an eventlog.

Is there a way to count the number of current logs attached to a specific eventlog?

Is there a .net timer-object that signals a specific process after X time?

Sorry for the shower of questions
Posted

1 solution

elad2109 wrote:
I couldn't find the following commands (using a batch file)

They're not available as DOS-commands, but you can use VBScript[^] from the console in the same way using CScript.exe[^].

As an alternative, you could opt to write a small console-application in C# or VB.NET.

elad2109 wrote:
Is there a .net timer-object that signals a specific process after X time?

There's a timer that raises an event after a specified period of time. It doesn't signal other processes by itself, you'd have to write that part. "How" will depend on what kind of signal the other proces is expecting.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900