用管理员打开Shell命令框;切换到需要设置成服务的可执行文件同级目录;执行 xxx.exe -d install 命令。 // 例如将memcached设置成开机自启 1. cd D:\software\memcached 2. .\memcached.exe -d install