Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

eventlog options are positional

eventlog /Stest /I "This is a test message" works but
eventlog /I /Stest "This is a test message" does not work

Result:
[C:\]eventlog /Stest /I "This is a test message"

[C:\]eventlog /I /Stest "This is a test message"
TCC: (Sys) The parameter is incorrect.
"Stest"
Usage : EVENTLOG [/Ssource] [/Cn /EIW] message

Is this just a documentation error? That is should I have read the documentation as implying an order to the various options? Or is this a program error.

David
 
eventlog /Stest /I "This is a test message" works but
eventlog /I /Stest "This is a test message" does not work

Result:


Is this just a documentation error? That is should I have read the documentation as implying an order to the various options? Or is this a program error.

David
The quick help shows the syntax a bit differently, with [/Ssource] first, perhaps suggesting it belongs there.
Code:
Usage : EVENTLOG [/Ssource] [/Cn /EIW] message
 
Back
Top
[FOX] Ultimate Translator
Translate