If you just want an event in the 'Applications' section, then have the
command:
logevent.exe "Successfully Backed up at: %TIME%"
Will produce a USER EVENT in APPLICATION LOG with the information:
Successfully Backed up at: 21:45:54.89
.....appended to it in the description section of the events 'properties'
(the time here is just an example: by putting the call for the variable
%TIME% in the command-line the current time will be appended to the output)
--
Cheers, Tim Meddick, Peckham, London.
"ToddAndMargo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Tim Meddick wrote:
>> Yes, download the command-line tool: logevent.exe from:
>>
>> http://www.dynawell.com/download/Res...T/logevent.zip
>>
>> ...you can then use this from a batchfile.
>>
>
>
> Usage: Z:\home\CDs\Windows\FileSystem\LogEvent\LogEvent.exe [-m
> \\MACHINENAME] [-s SIWEF] [-c CategoryNumber] "Event Text"
> Severity is one of (S)uccess, (I)nformation, (W)arning, (E)rror or
> (F)ailure.
>
> Which one of these writes to the "Applications" log?
>
> LogEvent -m \\%machinename% -s S -c ????? "backup successful"
>
> Me thinks it is the "CatagoryNumber", as I have no idea what
> that is.
>
> -T