-s
Severity one of
(S)uccess
(I)nformation
(W)arning
(E)rror
(F)ailure
-c
Category A Number between 0 and 65536
This can be used to
Filter the event log view
(default = "none")
When a fellow says, "It ain't the money but the principle of the thing," it's the money. - Kim
Hubbard
LOGOFF.exe
Log a user off.
Syntax
LOGOFF [/f] [/n]
Key
/f Force
running processes to close,
but will ask for user
confirmation.
The user will not be asked to save unsaved data.
/n Force running processes to close without confirmation.
The user will be prompted to save unsaved data.
By default LOGOFF will ask for user confirmation and prompt to save unsaved data.
“The man who is tired of London is tired of looking for a parking space” ~ Paul Theroux
LOGTIME.exe
(
Resource kit
)
Create logtime.txt and adds
the date, time and a message
Syntax
LOGTIME
text_string
Key
text_string : The message to add to the log file.
The date is stored in the US mm/dd/yy format (NT 4.0)
Sample batch file:
LOGTIME "begin import program"
import.exe
LOGTIME "end import program"
Chia sẻ với bạn bè của bạn: