Well,在%windir%\system32目录下,系统自带有一个vbs脚本Eventquery.vbs,利用这个脚本,可以满足你所述要求。系统要求它用cscript.exe下运行,你可以使用类似
cscript %windir%\system32\eventquery.vbs + 参数 的格式来使用它。
例如:
cscript %windir%\system32\eventquery.vbs /?
cscript %windir%\system32\eventquery.vbs /l system
Well, under the %windir%\system32 directory, the system comes with a vbs script Eventquery.vbs. Using this script, the requirements you mentioned can be met. The system requires it to be run under cscript.exe. You can use a format like
cscript %windir%\system32\eventquery.vbs + parameters to use it.
For example:
cscript %windir%\system32\eventquery.vbs /?
cscript %windir%\system32\eventquery.vbs /l system