[SOLVED] Startup EventViewer with computername as parameter

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
DaPaleRider
Junior Member
Junior Member
Posts: 23
Joined: 2017-07-10, 15:22 UTC

[SOLVED] Startup EventViewer with computername as parameter

Post by *DaPaleRider »

Hello,

I created a button on my button bar that starts the eventviewer. I like to activate a dialogbox where I can add the computername that need to be viewed.

I used the ? char in the parameters field. But the information I add to the dialoglog is not added after eventvwr.exe like eventvwr.exe <computername>.

How can I solve my question?
Last edited by DaPaleRider on 2017-07-12, 10:08 UTC, edited 1 time in total.
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

You do it right.




Works for me.

Code: Select all

TOTALCMD#BAR#DATA
eventvwr.exe
?
eventvwr.exe
Call eventvwr.exe, show dialog to enter computername

0
-1

ask for computername and launch eventvwr.exe for that PC.




 
DaPaleRider
Junior Member
Junior Member
Posts: 23
Joined: 2017-07-10, 15:22 UTC

Post by *DaPaleRider »

I found the problem. I started eventvwr.msc instead op eventvwr.exe

@Stefan2 Thank you for the reply and the tips.
Post Reply