@echo off rem 提供Windows下nginx的启动,重启,关闭功能 echo ==================begin======================== cls ::ngxin 所在的盘符 set NGINX_PATH=E: ::nginx 所在目录 set NGINX_DIR=E:\service\1\nginx-1.16.0\ color 0a TITLE Nginx 管理程序增强版 CLS echo. echo. ** Nginx 管理程序 *** ech
https://stackoverflow.com/questions/9564420/the-source-was-not-found-but-some-or-all-event-logs-could-not-be-searched EventLog.SourceExists enumerates through the subkeys of HKLM\SYSTEM\CurrentControlSet\services\eventlog to see if it contains a subk