eventlog options are positional

Jun 4, 2008
30
0
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
 
May 20, 2008
11,538
103
Syracuse, NY, USA
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
 
Similar threads
Thread starter Title Forum Replies Date
GermanDirk How to? EVENTLOG Command with simple User Rights not functional Support 4
cgunhouse Eventlog Syntax issue Support 8
C Syslog/eventlog Support 1
D Documentation Unclear semantics of options Support 1
Phileosophos Is there any way to open the Take Command options dialog from the command line? Support 8
Alpengreis Fixed [v26 Beta RC2]: Crash after Options, Take Command, Advanced Support 6
R New Cloud Storage Tab in TCC options causing problems Support 0
rps TCMD OPTIONS dialog Support 2
K_Meinhard Very small nit in german Options dialog Support 1
RChrismon How to? Changes to Options Don't Save Support 8
P Why won't my changes to Options take? Support 5
Alpengreis [v19.0.32 (x64)] Problem with [Options, Tabbed Toolbar, Add Button] in german language Support 1
D WAD TASKBAR options LogOff and ShutDown do not display a dialog Support 2
SB-Robert Old 4NT Won't Register - Options? Support 8
mfarah More on pdir's options: /(fq) Support 5
F Click a .btm file with "TCC Startup Options" in effect. Support 8
J Tcmd/64 issue - options not saving Support 15
H touch sensitive to order of options Support 2
mikea TCC: History window sizes; other config options Support 16
R TC 11.00.33 - Options/Configure TC/Tabs Support 1
J update Options with tcc 10.00.57 Support 4
A TCMD10 doesn't save options until restarted Support 10
nikbackm Order of DIR options and file names Support 3

Similar threads